Git Product home page Git Product logo

Comments (3)

cosmo0920 avatar cosmo0920 commented on July 18, 2024

AWS ES Service plugin doesn't emit events.
Try copy plugin:
https://docs.fluentd.org/output/copy

from fluent-plugin-aws-elasticsearch-service.

nareshnani529 avatar nareshnani529 commented on July 18, 2024

@cosmo0920 Thanks for quick reply!

I tried with copy plugin if you see in the above config with store" parameter not seems working. Could you help me with any references or sample examples using copy" that will be helpful? Thank you!

from fluent-plugin-aws-elasticsearch-service.

cosmo0920 avatar cosmo0920 commented on July 18, 2024

Copy plugin copies pipeline stream into multiple store directives.

                     +--------------> S3 (Inside the first <store> directive)
Copy --------------- |
 (@type copy)        +--------------> AWS ES Service (Inside the second <store> directive)

Copy plugin should be used like the following:

<match *.**>
  @type copy
  <store>
    @type aws-elasticsearch-service
    logstash_format true
    logstash_prefix ${tag[0]}
    include_tag_key true
    tag_key "Application_name"
    flush_interval 5s

    <buffer>
      flush_at_shutdown true
      flush_mode immediate
      flush_thread_count 8
      flush_thread_interval 1
      flush_thread_burst_interval 1
      retry_forever true
      retry_type exponential_backoff
    </buffer>

    <endpoint>
            url https://vpc-xxxx.us-east-1.es.amazonaws.com
            region us-east-1
            access_key_id "xxxx"
            secret_access_key "xxxx"
    </endpoint>
  </store>
  <store>
    @type s3
    aws_key_id "xxxxx"
    aws_sec_key "xxxx"
    s3_bucket "logstream-testbucket"
    s3_region "us-east-1"
    path logs/
    buffer_path /var/log/td-agent/buffer/s3
    time_slice_format %Y-%m-%d/%H
    time_slice_wait 10m
  </store>
</match>

from fluent-plugin-aws-elasticsearch-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.