emsearcy / fluent-plugin-gelf

Buffered fluentd output plugin to GELF (Graylog2)
Apache License 2.0
33 stars 57 forks source link

Write does not fail when input is turned off. #33

Closed rusia-rak closed 7 years ago

rusia-rak commented 7 years ago

If my input is turned off to where fluentd is sending the chunks, fluentd doesn't retry the chunks and anyways if using buf_file, the file is deleted after flush_interval. I am assuming fluentd doen't mark the write as failed in this case and deletes the buffer file.

emsearcy commented 7 years ago

Can you try using TCP to connect to Graylog? (protocol tcp)

UDP is stateless (fire and forget) so there isn't any error checking to see if a GELF packet was received or not.

rusia-rak commented 7 years ago

yes, ultimately figured it out. Indeed udp wont work.

Thanks :)