8000 GitHub - andypayne/aws_notes: Notes on using Amazon Web Services (AWS)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andypayne/aws_notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notes on using Amazon Web Services (AWS)

CloudWatch

Saving dashboard widgets

You know what stinks? When you spend time creating a new dashboard widget and you get it right, then you add it to a dashboard, and it shows up great. Then you start doing something else, since you're used to the way modern web apps auto-save. And you come back in a few hours to refresh your CloudWatch session and find that your dashboard hasn't been saved, and the widget is gone. Time to write it again.

So remember to save the dashboard when you add a widget. I assume this will be fixed in a future version of CloudWatch.

Filter for errors

fields @timestamp, @message
| filter @message like /(?i)Error|Reject|Unhandled|Exception|Fail|Unresolve|Caught/
| sort @timestamp desc

A quick intrusion evidence filter

This gist shows a quick way:

fields @timestamp, @message
| filter @message like /(?i)(\/etc\/passwd)|(\<script\>alert)/
| sort @timestamp desc
| stats count() by bin(60s)

Extracting info from logs

An example of extracting version reporting from the logs:

fields @timestamp
| filter @message like /version =/
| parse @message /userid \= (?<@userid>[^&]+)/
| parse @message /version = (?<@version>.*)/
| sort @timestamp desc
| limit 200

About

Notes on using Amazon Web Services (AWS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0