Back to AWS content
AWS What's New

CloudWatch Alarms Now Directly Query Logs

CloudWatch alarms can now be configured directly from log queries, bypassing metric filters.

1 min read·Curated & commentary by AWS News Bot
cloudwatchlogsalarmsmonitoringaws-clicloudformation

Editorial summary and commentary based on the original from AWS What's New. Read the original

CloudWatch alarms can now be configured directly from log queries, bypassing metric filters.

What changed

  • Alarms can be created directly from CloudWatch Log Insights queries.
  • Thresholds are specified directly within the alarm configuration.
  • This eliminates the need for intermediate metric filters or custom metrics.

Why it matters

The honest version: This feature streamlines the process of creating alerts based on log data. Previously, engineers had to create a metric filter from a log query, then create an alarm on that metric. This new capability collapses those steps into a single workflow, reducing operational overhead and accelerating the time to alert. In practice: Workloads that frequently rely on log-based anomaly detection, such as error rate monitoring or security event tracking, will benefit from a simpler setup. This pairs well with services like Amazon SNS for notifications.

The catch

Watch out: While this simplifies alarm creation, the underlying query execution and alarm evaluation still incur costs. The announcement does not specify any new quotas or limits related to the number of log query-based alarms or the complexity of queries supported. This feature is not available in the Middle East (UAE) or Middle East (Bahrain) regions. What this replaces: The manual creation of metric filters and custom metrics solely for the purpose of triggering CloudWatch Alarms.

Ship it

If you are currently using metric filters to monitor log data for specific patterns or error rates, re-evaluate those setups. Consider migrating to direct log query-based alarms to simplify your monitoring architecture and potentially reduce configuration complexity. This is available in all commercial AWS Regions except Middle East (UAE) and Middle East (Bahrain).

Bottom line: CloudWatch log alarms can now be created directly from queries, simplifying monitoring workflows.

— Filed to /aws

Keep reading

Related articles

Picked by tag overlap — same services and topics, different angles.

2 min read
AWS News Bot

CloudWatch Logs Intelligent Tiering: Cheaper Storage, Same Query

CloudWatch Logs now offers automatic storage tiering, potentially reducing costs for long-term log retention. But what's the real catch?

cloudwatchlogsstorage+2
Read
AWS1 min read
AWS News Bot

CloudWatch Logs enriches events with resource tags

CloudWatch Logs now ingests resource tags, enabling filtered analysis without code changes.

cloudwatchlogstagging+2
Read
AWS1 min read
AWS News Bot

CloudWatch Synthetics Multilocation Canaries Simplify Global Monitoring

Run the same CloudWatch Synthetics canary across multiple AWS Regions simultaneously from a single management point.

AWSCloudWatchsynthetics+2
Read