Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Setting up external access to a pod in a cluster
    • All guides
    • Projects
    • Resource model
      • Overview
      • Certificate Manager
      • DNS
      • IAM
      • Logging Stack
      • Managed Service for Apache Kafka®
      • Managed Service for PostgreSQL
      • Managed Service for ClickHouse®
      • DataLens
      • Monitoring
      • Object Storage
      • Disk subsystem
      • NVIDIA® GPU support
      • Policy Manager
      • Secrets Store
      • SpeechSense
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting

In this article:

  • Viewing logs in Grafana
  • Storing logs
  • Shipping logs
  • Configuration
  • Storage settings
  • Log shipment settings
  1. Concepts
  2. Components
  3. Logging Stack

Logging Stack

Written by
Yandex Cloud
Updated at April 8, 2026
  • Viewing logs in Grafana
  • Storing logs
  • Shipping logs
  • Configuration
    • Storage settings
    • Log shipment settings

Stackland enables cluster log collection using these open-source tools:

  • Loki: Centralized log aggregation and storage system.
  • Fluent Bit: Log shipper.
  • Grafana: Log viewing interface.

You can manage log storage and shipping via the LoggingConfig custom resource settings.

Viewing logs in GrafanaViewing logs in Grafana

The Grafana interface is available at https://grafana.sys.<cluster domain>. To sign in, click Sign in with Stackland Auth.

Loki and Fluent Bit are connected to the interface by default. To start viewing logs in Grafana, create a log collection query in the Explore section.

Storing logsStoring logs

In the custom resource, you can select a log storage backend, set the retention period, and attach a persistent volume for storage. Each log storage backend supports additional fine-grained configuration.

Shipping logsShipping logs

In the custom resource, you can specify the log shipping interval and buffer size. By default, defaultOutput enables Fluent Bit integration with Loki.

ConfigurationConfiguration

Here is an example:

apiVersion: stackland.yandex.cloud/v1alpha1
kind: LoggingConfig
metadata:
  name: main # This is a required field you must set to `main`
spec:
  enabled: true
  settings:
    logStorage: # Storage settings
      backend: loki
      replicas: 1
      resources:
        limits:
          cpu: "1"
          memory: 2Gi
        requests:
          cpu: 500m
          memory: 1Gi
      storage:
        enabled: true
        storageClass: ssd
        size: 50Gi
      retentionPeriod: 7d
      loki:
        limitsConfig:
          maxLabelNamesPerSeries: 20
        compactor:
          retentionEnabled: true
          retentionDeleteDelay: 24h
    logSender: # Delivery settings
      backend: fluent-bit
      flushInterval: 5
      bufferSize: 64MB
      resources:
        limits:
          cpu: 200m
          memory: 200Mi
        requests:
          cpu: 100m
          memory: 100Mi
      fluentBit:
        logLevel: info
        tenantId: prod-team
        defaultOutput: true
    status: ... # This section is generated automatically

Storage settingsStorage settings

Here is an example:

logStorage:
  backend: loki
  replicas: 1
  resources:
    requests:
      memory: 512Mi
      cpu: 200m
    limits:
      memory: 1Gi
      cpu: 500m
  storage:
    enabled: true
    storageClass: ssd
    size: 50Gi
  retentionPeriod: 7d
  loki:
    limitsConfig:
      maxLabelNamesPerSeries: 20
    compactor:
      retentionEnabled: true
      retentionDeleteDelay: 24h
  • backend: Specifies the type of log storage backend in use.
  • replicas: Sets the number of pod replicas.
  • resources: Limits resources (CPU and memory) for the pod.
  • storage: Defines persistent volume settings for log storage.
  • retentionPeriod: Sets the log retention period.
  • loki: Defines advanced configuration options for Loki.

Log shipment settingsLog shipment settings

Here is an example:

logSender:
  backend: fluent-bit
  flushInterval: 5
  bufferSize: 64MB
  resources:
    requests:
      memory: 128Mi
      cpu: 50m
    limits:
      memory: 256Mi
      cpu: 100m
  fluentBit:
    logLevel: info
    tenantId: prod-team
    defaultOutput: true
  • backend: Specifies the type of log shipping agent in use.
  • flushInterval: Sets the interval in seconds at which Fluent Bit sends collected logs to the storage backend (e.g., Loki).
  • bufferSize: Defines the maximum memory volume allocated to Fluent Bit for buffering logs before sending them.
  • resources: Limits resources (CPU and memory) for the pod.
  • fluentBit: Defines advanced configuration options for Fluent Bit.

Was the article helpful?

Previous
IAM
Next
Managed Service for Apache Kafka®
© 2026 Direct Cursus Technology L.L.C.