metric_filters_list_only
Lists metric_filters
in a region or regions, for all properties use metric_filters
Overview
Name | metric_filters_list_only |
Type | Resource |
Description | The AWS::Logs::MetricFilter resource specifies a metric filter that describes how CWL extracts information from logs and transforms it into Amazon CloudWatch metrics. If you have multiple metric filters that are associated with a log group, all the filters are applied to the log streams in that group.The maximum number of metric filters that can be associated with a log group is 100. |
Id | aws.logs.metric_filters_list_only |
Fields
Name | Datatype | Description |
---|---|---|
log_group_name | string | The name of an existing log group that you want to associate with this metric filter. |
filter_name | string | The name of the metric filter. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all metric_filters
in a region.
SELECT
region,
log_group_name,
filter_name
FROM aws.logs.metric_filters_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the metric_filters_list_only
resource, see metric_filters