Deploying Applications on AWS
Dunieski Otano
Amazon Web Services Solutions Architect



A Logs Insights query uses filter to narrow and stats to aggregate. Here, it counts errors per minute:
fields @timestamp, @message
| filter level = "ERROR"
| stats count() as errors by bin(1m)
| sort errors desc



Deploying Applications on AWS