Is there a way to filter in a widget only the @LogStream s which do not contain a specific log message?
I tried to use a Log table with some filters as presented in: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html and: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html#CWL_QuerySyntax-regex
As I understand the filters apply to messages, but I need a way to filter and select at Log stream level.
Tried something like this:
fields @logStream, strcontains(@logStream, "[INFO] - My message") as found
| filter found=0
| display @logStream
| limit 20
But the filter is not working, it's displaying all the messages.
Thank you!