GELF output with compression option?

Hello Everyone,

does logstash support option compressions for GELF over UDP ?

Related to this documentation :

I found nothing on logstash GELF output option :

I need to forward logs throught a low bandwitch link a lot of syslog datas.

Thanks :wink:

Assuming the logstash gelf output is using this gelf library, then my reading of the code is that it unconditionally does 'Zlib::Deflate.deflate(hash.to_json).bytes' before adding the datagram to the queue.

If you are able to run a packet trace it should be pretty obvious whether the packets contains JSON or compressed JSON.

hi @Badger thanks for your should automaticaly compress the JSON if i understand ?


1 Like

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