MerlinDMC / fluent-plugin-input-gelf

A GELF input for Fluentd
MIT License
8 stars 15 forks source link

plugin cant read gelf from nxlog-ce #2

Open geosone opened 8 years ago

geosone commented 8 years ago

2016-07-06 16:18:23 +0200 [warn]: Gelfd failed to parse a message error="Failed to decode data: buffer error" 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/gelfd/zlib_parser.rb:10:inrescue in parse' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/gelfd/zlib_parser.rb:6:in parse' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/gelfd/parser.rb:8:inparse' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/fluent/plugin/in_gelf.rb:73:in receive_data' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/fluent/plugin/socket_util.rb:46:incall' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/fluent/plugin/socket_util.rb:46:in on_readable' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/cool.io/io.rb:186:inon_readable' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/cool.io/loop.rb:88:in run_once' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/cool.io/loop.rb:88:inrun' 2016-07-06 16:18:23 +0200 [warn]: /usr/lib/ruby/vendor_ruby/fluent/plugin/in_gelf.rb:65:in run' if the udp package is comming from nxlog-ce the plugin has buffer problems. the logs for testing are piped logs from apche 2.2/2.4 to an nxlog socket and then forwarded to the the fluent server wiht the gelf input https://gist.github.com/geosone/88fa055294ec6d90d19278adc1e5c43c

sergey-tarasov-iqoption commented 6 years ago

Any progress? :-)