LogMetricFilterState constructor
const
LogMetricFilterState({})
Creates a new LogMetricFilterState.
applyOnTransformedLogs Whether the metric filter will be applied on the transformed version of the log events instead of the original ingested log events. Defaults to false. Valid only for log groups that have an active log transformer.
logGroupName The name of the log group to associate the metric filter with.
metricTransformation A block defining collection of information needed to define how metric data gets emitted. See below.
name A name for the metric filter.
pattern A valid CloudWatch Logs filter pattern
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
const LogMetricFilterState({
this.applyOnTransformedLogs,
this.logGroupName,
this.metricTransformation,
this.name,
this.pattern,
this.region,
});