metric_filters
Retrieves a list of metric_filters
in a region
Overview
Name | metric_filters |
Type | Resource |
Description | metric_filters |
Id | awscc.logs.metric_filters |
Fields
Name | Datatype | Description |
---|---|---|
log_group_name | string | Existing log group that you want to associate with this filter. |
filter_name | string | A name for the metric filter. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
log_group_name,
filter_name
FROM awscc.logs.metric_filters
WHERE region = 'us-east-1'
Permissions
To operate on the metric_filters
resource, the following permissions are required:
Create
logs:PutMetricFilter,
logs:DescribeMetricFilters
List
logs:DescribeMetricFilters