Awesome
cw-logs-insights-snippets
Serverlessland.com/snippets hosts a growing number of community provided snippets. Many of these are useful CloudWatch Logs Insights snippets.
Until AWS integrates these in the console natively you can use this stack to get them there.
It's designed to poll the GitHub repo every 12 hours. This can be changed here.
Note that if you have access to the repository settings you are better off using webhooks directly to EventBridge instead of polling.
If a snippet is removed from the repo it will be removed from the AWS console after 48 hours via DynamoDB TTL expiry.
Installation
- Clone this repo and
cd
to project root - Get a recent version of SAM-cli
sam build --parallel --beta-features && sam deploy --guided
A StepFunctions state machine will now run every 12 hours. You may want to kick it off manually the first time.