GithubHelp home page GithubHelp logo

mixcloud / fluent-plugin-indicative Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 17 KB

Fluentd output plugin to send events to Indicative

Home Page: https://rubygems.org/gems/fluent-plugin-indicative

License: MIT License

Ruby 100.00%

fluent-plugin-indicative's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fluent-plugin-indicative's Issues

Error "no implicit conversion of nil into String"

My fluentd env is:
td-agent 4.4.1 fluentd 1.15.2 (c32842297ed2c306f1b841a8f6e55bdd0f1cb27f)

2023-02-21 17:48:01 -0800 [warn]: define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2023-02-21 17:48:01 -0800 [info]: using configuration file: <ROOT>
  <match **>
    @type indicative
    api_key xxxxxx
    event_name_key "message"
    event_time_key "create_at"
    event_unique_id_keys message
    <format>
      @type json
    </format>
  </match>
</ROOT>
2023-02-21 17:48:01 -0800 [info]: starting fluentd-1.15.2 pid=13293 ruby="2.7.6"
2023-02-21 17:48:01 -0800 [info]: spawn command to main:  cmdline=["/usr/local/fluentd/td-agent/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/sbin/td-agent", "-c", "test.conf", "--under-supervisor"]
2023-02-21 17:48:01 -0800 [info]: adding match pattern="**" type="indicative"
2023-02-21 17:48:01 -0800 [warn]: #0 define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2023-02-21 17:48:01 -0800 [warn]: section <format> is not used in <match **> of indicative plugin
2023-02-21 17:48:01 -0800 [info]: #0 starting fluentd worker pid=13298 ppid=13293 worker=0
2023-02-21 17:48:01 -0800 [info]: #0 fluentd worker is now running worker=0
2023-02-21 17:49:12 -0800 [warn]: #0 got unrecoverable error in primary and no secondary error_class=TypeError error="no implicit conversion of nil into String"
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:69:in `parse'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:69:in `block in send_events'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:63:in `map'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:63:in `send_events'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:52:in `block in write'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:51:in `each'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:51:in `each_slice'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluent-plugin-indicative-0.1.8/lib/fluent/plugin/out_indicative.rb:51:in `write'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/plugin/output.rb:1180:in `try_flush'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/plugin/output.rb:1501:in `flush_thread_run'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/plugin/output.rb:501:in `block (2 levels) in start'
  2023-02-21 17:49:13 -0800 [warn]: #0 /usr/local/fluentd/td-agent/lib/ruby/gems/2.7.0/gems/fluentd-1.15.2/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2023-02-21 17:49:17 -0800 [warn]: #0 bad chunk is moved to /tmp/fluent/backup/worker0/object_7bc/5f54016226d48d6cade2049a40f0e4a2.log
^C2023-02-21 17:49:19 -0800 [info]: Received graceful stop

Any idea why is there an error? Am I missing any dependency, or the dependency version is not correct? Thanks!

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.