Readonly filterMetric filter name
Readonly filterPattern to search for log events.
Readonly logThe log group to create the filter on.
Readonly metricThe name of the metric to emit.
Readonly metricThe namespace of the metric to emit.
Readonly metricThe value to emit for the metric.
Can either be a literal number (typically “1”), or the name of a field in the structure to take the value from the matched event. If you are using a field value, the field value must have been matched using the pattern.
Note: If you want to specify a field from a matched JSON structure, use '$.fieldName', and make sure the field is in the pattern (if only as '$.fieldName = *'). If you want to specify a field from a matched space-delimited structure, use '$fieldName'.
Readonly treatSets how this alarm is to handle missing data points.
Generated using TypeDoc
SecurityConfig / CloudWatchConfig / MetricSetConfig / MetricConfig
AWS CloudWatch Metric configuration
Example