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
Of particular note, the sentinels indicating a continued line are the values for the ProccessID, ThreadID, and ComponentName keys. When ProcessID, ThreadID and ComponentName all match with the ProcessID, ThreadID and ComponentName of the previous line, it is a continued line.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
Is it possible to leverage backreferences to the
start_state
in the continued states of a multiline parser?Details
I'm trying to parse a
WindowsUpdate.log
file with the tail input. It is a tab separated value file, that looks like this:The regex looks something like this:
Of particular note, the sentinels indicating a continued line are the values for the ProccessID, ThreadID, and ComponentName keys. When ProcessID, ThreadID and ComponentName all match with the ProcessID, ThreadID and ComponentName of the previous line, it is a continued line.
See also:
https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-logs
Beta Was this translation helpful? Give feedback.
All reactions