latest--aws-logs-metricfilter
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-logs-metricfilter.json |
| Parent schema | serverless-framework-configuration |
Specifies a metric filter that describes how CloudWatch Logs extracts information from logs and transforms it into Amazon CloudWatch metrics.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git
Properties
Pattern that Logs follows to interpret each entry in a log.
Existing log group that you want to associate with this filter.
A collection of information that defines how metric data gets emitted.
A name for the metric filter.
Definitions
the key-value pairs that further define a metric.
The key of the dimension. Maximum length of 255.
The value of the dimension. Maximum length of 255.
The name of the CloudWatch metric. Metric name must be in ASCII format.
The namespace of the CloudWatch metric.
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
The value to emit when a filter pattern does not match a log event. This value can be null.
The unit to assign to the metric. If you omit this, the unit is set as None.
Dimensions are the key-value pairs that further define a metric