logstash-plugins / logstash-output-gelf

Apache License 2.0
15 stars 18 forks source link

Plugin silently discards undelivered messages #31

Open jsmucr opened 6 years ago

jsmucr commented 6 years ago

The gelf.rb dependency does not properly check for connection breakdown and discards every first message that it tries to send to server that just terminated the connection.

I've already posted a PR here: https://github.com/graylog-labs/gelf-rb/pull/70 I've discovered this issue with the TCP output plugin as well, yet with one difference: The message got lost only if the server sent a random content back prior to the connection breakdown.

jsmucr commented 6 years ago

The gelf-rb PR has been merged.