I want to write a log insights query to search for multiple string patterns in log groups.
I know that I can use the following query to find a specific string in logs :
fields @timestamp, @message
| filter @message like "test string"
| sort @timestamp desc
But, I want to extend this to find multiple string patterns with regular expressions.
Can someone help to understand how to achieve this. I tried looking in internet and reading aws document but could not figure out how to do.