Graylog showing \n instead of multiline

I am using rsyslog to forward logs generated in tomcat (catalina.out), I configured rsyslog to use the syslog protocol 23 so I can have priority and ms in graylog.
I am currently simulating the log sending with:
echo -e "date ‘+%d-%b-%Y %H:%M:%S.%3N’TEST\nRESULT" >> /var/log/tomcat8/catalina.out
The logs are being forwarded to graylog as expected but on the msg field in graylog the newlines are shown as \n instead of a proper newline.
Where should I fix this so the newlines would be shown properly?

Screenshot_20190523_100753

1 Like

Anyone? I have been looking through the documentation and I can’t find anything related to this, it must be something I am doing wrong but I can’t figure the cause.

Graylog does see the incoming messages only as string and does not do any kind of interpretation on that.

You would need to open a feature request over in Github if you like to see this ability in Graylog.

Done, I opened the issue here, thanks

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