Amazon CloudWatch supports creating alarms from log queries

Amazon CloudWatch Log Alarms
Amazon CloudWatch now allows you to create alarms on log data using log queries, enabling you to get alerted on anomalies without leaving your log analysis workflow. You can configure an alarm on a log query and specify the alarm threshold directly, eliminating the need for metric filters or custom metrics.
Alarms created from log queries support all standard CloudWatch Alarm actions, including Amazon SNS notifications and Amazon EventBridge integrations. For example, you can write a query to count error rates by service, set a threshold, and receive an alarm notification with log context when errors spike - all in a single workflow.
What to do
- Create log query-based alarms using the Amazon CloudWatch console, AWS CLI, AWS CloudFormation, or AWS SDKs.
- Configure alarm actions such as Amazon SNS notifications and Amazon EventBridge integrations.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



