Giter Site home page Giter Site logo

Comments (3)

ker2x avatar ker2x commented on June 14, 2024
  <source>
    type forward
  </source>

  ## Output to Amazon S3 with fluent-plugin-s3
  ## Match tag=snowplow.event and upload every hour
  <match snowplow.event>
    type copy
    <store>
    type s3

    aws_key_id secret
    aws_sec_key something
    s3_bucket something
    s3_endpoint s3.amazonaws.com
    path snowplow/
    buffer_path /var/log/td-agent/buffer/snowplow

    time_slice_format %Y%m%d-%H:%M:%S
    time_slice_wait 5m
    utc
    </store>
    <store>
    type elasticsearch
    host ec2-*-*-*-*.compute-1.amazonaws.com
    port 9200
    index_name fluentd
    type_name fluentd
    logstash_format true
    </store>
  </match>

from fluent-plugin-elasticsearch.

pitr avatar pitr commented on June 14, 2024

it looks like you sent a string instead of hash to fluentD, something like

Fluent::Logger.post('my.key', "hello world")

as opposed to something like

Fluent::Logger.post('my.key', hello: "world", foo: "bar")

Not sure if sending a string to fluentD is even allowed, but this plugin requires that you send it a Hash object.

from fluent-plugin-elasticsearch.

ker2x avatar ker2x commented on June 14, 2024

Thank you for your help. that helped me to find a problem i had with SnowCannon, the json was "stringified"

from fluent-plugin-elasticsearch.

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.