Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • 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 Data Streams
    • Preparing the environment
    • Creating a data stream
      • Fluentd
      • Logstash
      • AWS CLI
    • Debezium Change Data Capture (CDC) stream processing
  • Access management
  • Pricing policy
  • FAQ
  1. Getting started
  2. Data collection and delivery
  3. Fluentd

Fluentd

Written by
Yandex Cloud
Updated at June 17, 2026
View in Markdown

Note

You can create a trigger that will invoke a function in Cloud Functions or run a container in Serverless Containers when data is sent to a stream. Read more about triggers for Data Streams.

  1. Download and install Fluentd.

  2. Install the Fluentd plugin to add AWS Kinesis Data Streams protocol support. This protocol will be used for data delivery.

    sudo fluent-gem install fluent-plugin-kinesis
    
  3. In the management console, select the folder containing your data stream.

  4. Navigate to Data Streams.

  5. Select the data stream.

  6. Click Connect and navigate to the Fluentd tab.

  7. Copy the example configuration and paste it into the /etc/td-agent/td-agent.conf file.

    Example configuration:

    <system>
      log_level debug
    </system>
    <source>
      @type http
      @id input_http
      port 8888
    </source>
    <match kinesis>
      @type copy
      <store>
        @type stdout
      </store>
      <store>
        @type kinesis_streams
    
        aws_key_id <access_key_ID>
        aws_sec_key <secret_key>
    
        # kinesis stream name
        stream_name /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********/test
    
        # region
        region ru-central-1
    
        endpoint https://yds.serverless.yandexcloud.net
    
        <buffer>
          flush_interval 5s
        </buffer>
      </store>
    </match>
    

    Where:

    • <access_key_ID>: Static access key ID.
    • <secret_key>: Secret part of the static access key.
  8. Send test data to Fluentd:

    curl \
     --request POST \
     --data 'json={"user_id":"user1", "score": 100}' \
     http://localhost:8888/kinesis
    

    If the setup is successful, the Fluentd /var/log/td-agent/td-agent.log operational log will show a message confirming data receipt and its transmission to Yandex Data Streams over the AWS Kinesis Data Streams protocol:

    kinesis: {"json":"message"}
    DEBUG -- : [Aws::Kinesis::Client 200 0.628973 0 retries] put_records(stream_name:"/ru-central1/aoeu1kuk2dht********/cc8029jgtuab********/fluentd_stream",records:[{data:"{\"message\":\"Write chunk 5c0cf5c556654e99cac84*********** /   2 records /    0 KB\"}\n",partition_key:"6ec03a4e3ba832c85e802***********"},{data:"{\"message\":\"Finish writing chunk\"}\n",partition_key:"8ada32f7373e1ab4c48fb***********"},{data:"{\"json\":\"message\"}\n",partition_key:"70f21f2decfc90b6f1975***********"}])
    

Was the article helpful?

Previous
Creating a data stream
Next
Logstash
© 2026 Direct Cursus Technology L.L.C.