GELF Output plugins adds a "protocol" field

Hello,

I am using the GELF output plugin and I noticed that the GELF plugin seems to add a "protocol" field, always with 0 as value.

Maybe there is an error in the code, here: https://github.com/logstash-plugins/logstash-output-gelf/blob/cf897ce4055593f7adc7e92895d0da4d58b82b68/lib/logstash/outputs/gelf.rb#L86 but I'm absolutely not sure about that.

Should we replace { :protocol => GELF::Protocol.const_get(@protocol) } by GELF::Protocol.const_get(@protocol) ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.