How to filter logs in AWS Cloudwatch
To get all log messages containing pattern
, do this in CloudWatch Logs Insights:
fields @timestamp, @message
| filter @message like /pattern/
To get all log messages containing pattern
, do this in CloudWatch Logs Insights:
fields @timestamp, @message
| filter @message like /pattern/