Skip to content

ljacobsson/cw-logs-insights-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Demo

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.

About

AWS SAM project that adds the snippets from serverlessland.com/snippets as saved queries in CloudWatch Logs Insights

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published