UDP Load Balancer for graylog Gelf UDP

Hey @akhilbhardwaj89,

your problem is most likely the segmentation of UDP GELF.

GELF uses chunking for larger messages by segmenting the payload into multiple UDP messages with a sequence number. And the GELF specification states the following:

All chunks MUST arrive within 5 seconds or the server will discard all already arrived and still arriving chunks. A message MUST NOT consist of more than 128 chunks.

Additionally, it should be obvious that the chunks must arrive at the same server for them to get reassembled, else the message will be discarded instantly. So using round robin or similar load balancing will not work.
See here:

You will need to setup a host-based / sticky balancing system.
Have a look here (the search functions helps :wink:)

Greetings,
Philipp