This website uses cookies to ensure you get the best experience.
Learn more.
An API writes JSON access logs to CloudWatch Logs. During an incident, an engineer needs the ten request paths with the highest count of HTTP 500 responses over the last hour. No permanent dashboard or alert is required. Which tool is the most direct fit?
Published
- Run a CloudWatch Logs Insights query that filters status 500, groups by request path, counts events, and sorts the results.
- Create a new alarm for each possible URL and wait for the next hour of traffic.
- Read the ALB aggregate HTTPCode_Target_5XX_Count metric and assume it identifies every request path.
- Export the hour of logs to S3, configure a query table, and run an Athena aggregation.
Comments — 0
Sign in to comment