You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i have logs that can look like shown below. There could be other variations.
I'd like to parse these, and in the case where there is a pattern 'app_id:<some_id>', also parse that out.
Also read that grok internally uses regex, so thought maybe it would be more efficient to use regex as id be removing one layer...but cant find much documentation or examples on how to do multiple parsing or 'sub-parsing' of fields. Tried below, where the first part by itself works, but i am not then able to split the .msg field into app_id and the actual message. that throws the exception: "this expression must resolve to an object"
Hi,
i have logs that can look like shown below. There could be other variations.
I'd like to parse these, and in the case where there is a pattern 'app_id:<some_id>', also parse that out.
I've tried parse_groks, with some success..but for some reason parsing the run_id does not seem to work for me:
Also read that grok internally uses regex, so thought maybe it would be more efficient to use regex as id be removing one layer...but cant find much documentation or examples on how to do multiple parsing or 'sub-parsing' of fields. Tried below, where the first part by itself works, but i am not then able to split the .msg field into app_id and the actual message. that throws the exception: "this expression must resolve to an object"
Any help on trying to get this right is appreciated...
The text was updated successfully, but these errors were encountered: