Multiple Multline pattern option


(osama ikhlas) #1

I have two types of logs one start with (Waiting for message) and other start from (Message Length Received) so how to use multiline pattern with (OR) function
with below try i'm not getting any result

multiline.pattern: "^.Waiting For A Message.|^.Message Length Recieved MLI."
multiline.negate: true
multiline.match: before


(Pier-Hugues Pellerin) #2

@osamaikhlas the pattern is a unique regular expression, so you have to change it a little to be something like this.

 "^. *(Waiting For A Message|Message Length Recieved MLI).*"

NOTES There is a typo in Recieved, I am not sure if its intended or not.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.