You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatchLogs::Types::MetricFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::MetricFilter
- Defined in:
- (unknown)
Overview
Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.
Instance Attribute Summary collapse
-
#creation_time ⇒ Integer
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
-
#filter_name ⇒ String
The name of the metric filter.
-
#filter_pattern ⇒ String
A symbolic description of how CloudWatch Logs should interpret the data in each log event.
-
#log_group_name ⇒ String
The name of the log group.
-
#metric_transformations ⇒ Array<Types::MetricTransformation>
The metric transformations.
Instance Attribute Details
#creation_time ⇒ Integer
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
#filter_name ⇒ String
The name of the metric filter.
#filter_pattern ⇒ String
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.
#log_group_name ⇒ String
The name of the log group.
#metric_transformations ⇒ Array<Types::MetricTransformation>
The metric transformations.