MetricFilter
Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.
Types
Properties
This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
The list of system fields that are emitted as additional dimensions in the generated metrics. Returns the emitSystemFieldDimensions
value if it was specified when the metric filter was created.
The filter expression that specifies which log events are processed by this metric filter based on system fields. Returns the fieldSelectionCriteria
value if it was specified when the metric filter was created.
The name of the metric filter.
A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
The name of the log group.
The metric transformations.