class Aws::CloudWatchLogs::Types::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.

@!attribute [rw] filter_name

The name of the metric filter.
@return [String]

@!attribute [rw] filter_pattern

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.
@return [String]

@!attribute [rw] metric_transformations

The metric transformations.
@return [Array<Types::MetricTransformation>]

@!attribute [rw] creation_time

The creation time of the metric filter, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
@return [Integer]

@!attribute [rw] log_group_name

The name of the log group.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilter AWS API Documentation

Constants

SENSITIVE