class Aws::CloudWatchLogs::Types::PutMetricFilterRequest
@note When making an API call, you may pass PutMetricFilterRequest
data as a hash: { log_group_name: "LogGroupName", # required filter_name: "FilterName", # required filter_pattern: "FilterPattern", # required metric_transformations: [ # required { metric_name: "MetricName", # required metric_namespace: "MetricNamespace", # required metric_value: "MetricValue", # required default_value: 1.0, dimensions: { "DimensionsKey" => "DimensionsValue", }, unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None }, ], }
@!attribute [rw] log_group_name
The name of the log group. @return [String]
@!attribute [rw] filter_name
A name for the metric filter. @return [String]
@!attribute [rw] filter_pattern
A filter pattern for extracting metric data out of ingested log events. @return [String]
@!attribute [rw] metric_transformations
A collection of information that defines how metric data gets emitted. @return [Array<Types::MetricTransformation>]
@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterRequest AWS API Documentation
Constants
- SENSITIVE