Closed ghost closed 5 years ago
Found a solution to this. No need for this ticket anymore. Closing. Here's how I am doing it:
--filter {$.data.field="value"}
from the following docs:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
I have some text that contains hyphen that I need to filter on. However if I use a hyphen I am unable to get the result. If use part of the same text without the hyphen I can see the result.
For example: --filter 2ea3-44f5-8f61-81e3ec01910d does not work, but --filter 81e3ec01910d works
I tried adding quotes and double quotes around the text with no avail.