Multiple Multline pattern option

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

@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.

1 Like

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