Hey,
just trying to get multiline parsed messages from collector sidecar via
start/stop pattern
The structure is simple json format in multile lines in log looking like:
Version 1:
{
"level" : "INFO",
"parameter1" : "foo",
"parameter2" : "bar"
}
Version 2:
{ "level" : "INFO", "parameter1" : "foo", "parameter2" : "bar" }
I have both versions in log file!!!
So one graylog message should contain all ines (the whole JSON string)
So I thought it would be done with configuring the start/stop pattern linke
this:
Start-Pattern: /^\{/
Stop: /\}/
But when I look into nxlog.log file I just saw this error:
"ERROR HeaderLine and Endline both match"
Could anybody tell me how to get this running?
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/2e4d6ed3-bad9-4484-adbe-a70a8404060d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.