Hi friends,
I'm a newbie with grok filter and need help parsing the log message.
Here is my log message:
2016-07-11T23:56:42.000+00:00 INFO ALERT|ECE002|5 Error with transaction for session -464410bf-37bf-475a-afc0-498e0199f008
I'm able to parse the message with following pattern:
%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:log-level} %{GREEDYDATA:message}
I need to parse ALERT|ECE002|5 from message and get the value ECE002 from the message.
Is there a way to achieve that?
Cheers!