Skip to main content

metric_filters

Retrieves a list of metric_filters in a region

Overview

Namemetric_filters
TypeResource
Descriptionmetric_filters
Idawscc.logs.metric_filters

Fields

NameDatatypeDescription
log_group_namestringExisting log group that you want to associate with this filter.
filter_namestringA name for the metric filter.
regionstringAWS 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