How to stream docker logs with multiline to graylog


(Reneed Rahman) #1

Hi Guys,

i am facing one issue with multiline logging from docker logs to graylog, log streaming is working but the issue is messages are coming line by line as a single event for each line,

Its really painfull for me to resolving this issue, checked with document says have not support the multilne to merge single message,

Please do the needfull, will appreciate.


(Jochen) #2

Docker (or Moby) doesn’t support multiline log messages:

Neither does Graylog (as of Graylog 2.4.5).

This means, that you have to use an intermediary to merge multiline log messages before sending them to Graylog, for example:


(Reneed Rahman) #3

Thanks, good information
Will check this.