metric filter
A pattern on a CloudWatch log group that turns matching log events into a metric, which alarms can then watch.
In more detail
It counts or extracts values as logs arrive, so it only sees events written after it was created. A metric filter can alarm but cannot act on its own. Filters can add dimensions taken from fields in structured logs.
Related terms
- log group — A named container in CloudWatch Logs for log streams that share retention, encryption and access settings.
- alarm — A rule that watches a metric and changes state, and notifies someone, when the metric crosses a threshold for long enough.
- metric — A number measured over time, such as requests per second or error count, that shows how a system behaves in aggregate.
Taught in
- Finding The Problem: The Composite Alarm That Stayed Quiet — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Monitoring As Code: The Alarm That Watched Nothing — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Remediation As Code: A Public Bucket Appears — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Long-Stem Clinic: When Two Answers Both Work — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep