How To Filter on a subquery in Amazon Cloudwatch Insights

Viewed 5645

Are you able to run a filter with a subquery in Cloudwatch Insights? I would like to take the requestID and find all logs related to it. I can run the queries separately but was trying to do it one.

Something like this:

filter @requestId in (filter @message like /Id 26313/ fields @requestId sort @timestamp desc limit 1)
| fields @message
| sort @timestamp desc
1 Answers

No. Subqueries are not currently possible.

Related