Created
January 13, 2025 15:12
-
-
Save heilgar/0e1421c032cea6d362e54c0652c22cf3 to your computer and use it in GitHub Desktop.
AWS Logs Insights Query - Select error records
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields @timestamp, @message, @logStream, @log | |
| | filter @message like /(?i)(error|exception|fail)/ and @message not like /hasErrorHandler/ | |
| | sort @timestamp desc | |
| | limit 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment