mixcloud / fluent-plugin-indicative Goto Github PK
View Code? Open in Web Editor NEWFluentd output plugin to send events to Indicative
Home Page: https://rubygems.org/gems/fluent-plugin-indicative
License: MIT License
Fluentd output plugin to send events to Indicative
Home Page: https://rubygems.org/gems/fluent-plugin-indicative
License: MIT License
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.