Skip to content

Instantly share code, notes, and snippets.

@oleksii-donoha
Last active July 11, 2022 05:03
Show Gist options
  • Save oleksii-donoha/b28bae9e9a1dbec8d9f45eb214029395 to your computer and use it in GitHub Desktop.
Save oleksii-donoha/b28bae9e9a1dbec8d9f45eb214029395 to your computer and use it in GitHub Desktop.
AWS Cloudwatch Logs Insights: filter lambda logs for common errors in Python lambda functions
fields @timestamp, @message, @logStream
| filter @message like /(?i)Exception|Error|Traceback|Timed out/
| sort @timestamp desc
| limit 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment