Closed janekolszak closed 7 years ago
Fixed in version 0.0.9.
No, sorry it's not fixed. I updated to 0.0.9 and it's still here. Here's my configuration:
<source>
@type forward
port 24224
bind 0.0.0.0
</source>
<match **>
@type loggly
loggly_url https://logs-01.loggly.com/inputs/mytoken
</match>
2016-10-14 00:04:29 +0300 [info]: starting fluentd-0.12.29
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-mixin-config-placeholders' version '0.4.0'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-mixin-plaintextformatter' version '0.2.6'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-kafka' version '0.3.1'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-loggly' version '0.0.9'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-mongo' version '0.7.15'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '1.5.5'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-s3' version '0.7.1'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-scribe' version '0.10.14'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-td' version '0.10.29'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-td-monitoring' version '0.2.2'
2016-10-14 00:04:29 +0300 [info]: gem 'fluent-plugin-webhdfs' version '0.4.2'
2016-10-14 00:04:29 +0300 [info]: gem 'fluentd' version '0.12.29'
Did a quick test and no problems.
`
2016-10-13 22:34:40 +0000 [info]: fluent/supervisor.rb:471:read_config: reading config file path="/etc/td-agent/td-agent.conf"
2016-10-13 22:34:40 +0000 [info]: fluent/supervisor.rb:337:supervise: starting fluentd-0.12.29
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-mixin-config-placeholders' version '0.4.0'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-mixin-plaintextformatter' version '0.2.6'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-kafka' version '0.3.1'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-loggly' version '0.0.9'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-mongo' version '0.7.15'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-rewrite-tag-filter' version '1.5.5'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-s3' version '0.7.1'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-scribe' version '0.10.14'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-td' version '0.10.29'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-td-monitoring' version '0.2.2'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluent-plugin-webhdfs' version '0.4.2'
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:126:block in configure: gem 'fluentd' version '0.12.29'
2016-10-13 22:34:40 +0000 [info]: fluent/agent.rb:129:addmatch: adding match pattern="*" type="loggly"
2016-10-13 22:34:40 +0000 [debug]: plugin/out_loggly.rb:30:configure: Loggly url https://logs-01.loggly.com/inputs/mytoken
2016-10-13 22:34:40 +0000 [info]: fluent/root_agent.rb:147:add_source: adding source type="forward"
2016-10-13 22:34:40 +0000 [info]: fluent/engine.rb:133:configure: using configuration file:
root@14d7e1cae4aa:/# nc -v 0.0.0.0 24224 0.0.0.0: inverse host lookup failed: Unknown host (UNKNOWN) [0.0.0.0] 24224 (?) open test 2016-10-13 22:34:49 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=116 2016-10-13 22:34:49 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=101 2016-10-13 22:34:49 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=115 2016-10-13 22:34:49 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=116 2016-10-13 22:34:49 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=10 2016-10-13 22:34:49 +0000 [debug]: plugin/out_loggly.rb:49:block in emit: Record sent {"source":"host: 127.0.0.1, addr: 127.0.0.1, port: 58140","msg":116,"message":"incoming chunk is broken: source=\"host: 127.0.0.1, addr: 127.0.0.1, port: 58140\" msg=116"}
2016-10-13 22:34:55 +0000 [warn]: plugin/in_forward.rb:146:on_message: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 58140" msg=10 2016-10-13 22:34:55 +0000 [debug]: plugin/out_loggly.rb:54:block in emit: HTTP Response code 403 2016-10-13 22:34:55 +0000 [error]: plugin/out_loggly.rb:55:block in emit: Invalid API key 2016-10-13 22:34:55 +0000 [debug]: plugin/out_loggly.rb:49:block in emit: Record sent {"source":"host: 127.0.0.1, addr: 127.0.0.1, port: 58140","msg":101,"message":"incoming chunk is broken: source=\"host: 127.0.0.1, addr: 127.0.0.1, port: 58140\" msg=101"}`
I can confirm that fluent-plugin-loggly 0.0.9 work fine with the latest fluentd 0.14.8. Thanks!
When we are using loggly_buffered and type tail that we see this error
Hi there! td-agent can't load your pluggin.
Here are the logs: