Graylog UI - trying to enable the multiline message configuration. We have stacktrace on our nodeJs side, but unable to see or figure out how to have a multi line trace in graylog
How are you sending in logs to graylog? Its important that it can support multi line. For example, when using filebeat, you can configure multiline support so the trace is sent as a single message.
There isn’t really a way to recombine the messages in graylog if they are sent 1 message per line so this part is very important.
I unfortunately don’t have any direct experience with nodejs, but what i was able to find is that when writing the messages to the logger (or console) to output them as multiline messages. An example here: javascript - Indented, multi-line logging in NodeJS - Stack Overflow .
I understand this isn’t a “plug and play” fix but may be the only way to address.