Class: Aws::CloudWatchLogs::Types::PutMetricFilterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::PutMetricFilterRequest
- Defined in:
- gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#apply_on_transformed_logs ⇒ Boolean
This parameter is valid only for log groups that have an active log transformer.
-
#filter_name ⇒ String
A name for the metric filter.
-
#filter_pattern ⇒ String
A filter pattern for extracting metric data out of ingested log events.
-
#log_group_name ⇒ String
The name of the log group.
-
#metric_transformations ⇒ Array<Types::MetricTransformation>
A collection of information that defines how metric data gets emitted.
Instance Attribute Details
#apply_on_transformed_logs ⇒ Boolean
This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.
If the log group uses either a log-group level or account-level
transformer, and you specify true
, the metric filter will be
applied on the transformed version of the log events instead of the
original ingested log events.
6332 6333 6334 6335 6336 6337 6338 6339 6340 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 6332 class PutMetricFilterRequest < Struct.new( :log_group_name, :filter_name, :filter_pattern, :metric_transformations, :apply_on_transformed_logs) SENSITIVE = [] include Aws::Structure end |
#filter_name ⇒ String
A name for the metric filter.
6332 6333 6334 6335 6336 6337 6338 6339 6340 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 6332 class PutMetricFilterRequest < Struct.new( :log_group_name, :filter_name, :filter_pattern, :metric_transformations, :apply_on_transformed_logs) SENSITIVE = [] include Aws::Structure end |
#filter_pattern ⇒ String
A filter pattern for extracting metric data out of ingested log events.
6332 6333 6334 6335 6336 6337 6338 6339 6340 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 6332 class PutMetricFilterRequest < Struct.new( :log_group_name, :filter_name, :filter_pattern, :metric_transformations, :apply_on_transformed_logs) SENSITIVE = [] include Aws::Structure end |
#log_group_name ⇒ String
The name of the log group.
6332 6333 6334 6335 6336 6337 6338 6339 6340 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 6332 class PutMetricFilterRequest < Struct.new( :log_group_name, :filter_name, :filter_pattern, :metric_transformations, :apply_on_transformed_logs) SENSITIVE = [] include Aws::Structure end |
#metric_transformations ⇒ Array<Types::MetricTransformation>
A collection of information that defines how metric data gets emitted.
6332 6333 6334 6335 6336 6337 6338 6339 6340 |
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 6332 class PutMetricFilterRequest < Struct.new( :log_group_name, :filter_name, :filter_pattern, :metric_transformations, :apply_on_transformed_logs) SENSITIVE = [] include Aws::Structure end |