let's say I have the following lines in my logs:
Message: msisdn: 111111111 Message: msisdn: 222222222 Answer: msisdn: 111111111 Answer: msisdn: 222222222
Now, whenever I get a Message, I'd like to wait for X seconds (and, of course, continue process other lines). If within this time period I get the matching Answer (i.e. with the same msisdn), mark it as OK, else mark it as ERROR.
How can I do that?