Get all logs where one log message is immediately followed by other.
My log file has messages like this
a, b, c, X, Y, d, e, d, g, X, e, Y, d, b, X, Y,...
I want to filter this file to show all X, Y messages whenever X is immediately followed by Y. Any ideas on how to do this?
Please sign in to leave a comment.