CloudWatch Logs MetricFilter MetricTransformation Property
MetricTransformation is a property of the AWS::Logs::MetricFilter
resource that describes how to transform log streams into a CloudWatch metric.
For more information about constraints and values for each property, see MetricTransformation in the Amazon CloudWatch Logs API Reference.
The name of the CloudWatch metric to which the log information will be published.
The destination namespace of the CloudWatch metric. Namespaces are containers for metrics. For example, you can add related metrics in the same namespace.
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
1for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using
$followed by the name of the field that you specified in the filter pattern, such as