Posted On: Jan 31, 2023

Amazon CloudWatch now supports metric extraction from structured logs using Embedded Metric Format (EMF) without requiring customers to provide special header declaration while publishing logs.

Structured Log Format within CloudWatch Logs allows customers to emit metrics within their logs which are extracted and published to CloudWatch via EMF. Customers can leverage the extracted metrics for real-time incident detection using visualizations and alarming while also being able to perform deeper analysis on the underlying logs using CloudWatch Logs Insights. With today’s launch, customers no longer need to add a special header and CloudWatch will automatically detect and extract metrics from structured logs aligning with the EMF specification. This simplification will enable customers to leverage EMF across more of their deployments and use cases.

Customers can start leveraging EMF by sending EMF logs to CloudWatch natively from their applications, using client libraries or using ADOT collector in all AWS regions where CloudWatch is available. There are no additional charges for using this feature, and you simply pay for usage of CloudWatch logs and metrics. To learn more, visit the documentation on CloudWatch Embedded Metric Format.