Class: Aws::CloudWatchLogs::Types::MetricFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::MetricFilter
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchlogs/types.rb
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.
Constant Summary collapse
- SENSITIVE =
[]
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`.
3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3280 class MetricFilter < Struct.new( :filter_name, :filter_pattern, :metric_transformations, :creation_time, :log_group_name) SENSITIVE = [] include Aws::Structure end |
#filter_name ⇒ String
The name of the metric filter.
3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3280 class MetricFilter < Struct.new( :filter_name, :filter_pattern, :metric_transformations, :creation_time, :log_group_name) SENSITIVE = [] include Aws::Structure end |
#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.
3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3280 class MetricFilter < Struct.new( :filter_name, :filter_pattern, :metric_transformations, :creation_time, :log_group_name) SENSITIVE = [] include Aws::Structure end |
#log_group_name ⇒ String
The name of the log group.
3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3280 class MetricFilter < Struct.new( :filter_name, :filter_pattern, :metric_transformations, :creation_time, :log_group_name) SENSITIVE = [] include Aws::Structure end |
#metric_transformations ⇒ Array<Types::MetricTransformation>
The metric transformations.
3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3280 class MetricFilter < Struct.new( :filter_name, :filter_pattern, :metric_transformations, :creation_time, :log_group_name) SENSITIVE = [] include Aws::Structure end |