Posted On: May 28, 2021
Amazon CloudWatch Logs announces Dimension support for Metric Filters. CloudWatch Logs Metric Filters allow you to create filter patterns to search for and match terms, phrases, or values in your CloudWatch Logs log events, and turn these into metrics that you can graph in CloudWatch Metrics or use to create a CloudWatch Alarm. Now with Dimension support for Metric Filters you can create metrics from JSON or space-delimited logs with up to 3 dimensions, where a dimension is a key-value pair that is part of the identity of a metric.
Using Dimension support for Metric Filters, you can now answer questions such as how many errors were emitted in logs from an application. For example, you can use this feature to extract fields from webserver access logs allowing you to measure the bytes transferred per event type. Dimension support for Metric Filters is available in all commercial AWS Regions.
To learn more, review our Dimension for Metric Filters documentation.