MetricFilterArgs

data class MetricFilterArgs(val filterName: Output<String>? = null, val filterPattern: Output<String>? = null, val logGroupName: Output<String>? = null, val metricTransformations: Output<List<MetricFilterMetricTransformationArgs>>? = null) : ConvertibleToJava<MetricFilterArgs>

Specifies a metric filter that describes how CloudWatch Logs extracts information from logs and transforms it into Amazon CloudWatch metrics.

Constructors

Link copied to clipboard
fun MetricFilterArgs(filterName: Output<String>? = null, filterPattern: Output<String>? = null, logGroupName: Output<String>? = null, metricTransformations: Output<List<MetricFilterMetricTransformationArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MetricFilterArgs

Properties

Link copied to clipboard
val filterName: Output<String>? = null

A name for the metric filter.

Link copied to clipboard
val filterPattern: Output<String>? = null

Pattern that Logs follows to interpret each entry in a log.

Link copied to clipboard
val logGroupName: Output<String>? = null

Existing log group that you want to associate with this filter.

Link copied to clipboard

A collection of information that defines how metric data gets emitted.