Struct aws_sdk_cloudwatchlogs::model::MetricFilter [−][src]
#[non_exhaustive]pub struct MetricFilter {
pub filter_name: Option<String>,
pub filter_pattern: Option<String>,
pub metric_transformations: Option<Vec<MetricTransformation>>,
pub creation_time: Option<i64>,
pub log_group_name: Option<String>,
}
Expand description
Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.filter_name: Option<String>
The name of the metric filter.
filter_pattern: Option<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.
metric_transformations: Option<Vec<MetricTransformation>>
The metric transformations.
creation_time: Option<i64>
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
log_group_name: Option<String>
The name of the log group.
Implementations
The name of the metric filter.
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.
The metric transformations.
The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The name of the log group.
Creates a new builder-style object to manufacture MetricFilter
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MetricFilter
impl Send for MetricFilter
impl Sync for MetricFilter
impl Unpin for MetricFilter
impl UnwindSafe for MetricFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more