v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448206184.6 KB

Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.

post/#X-Amz-Target=Logs_20140328.DescribeMetricFilters

Query parameters

limitstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'Logs_20140328.DescribeMetricFilters' required

Request body

logGroupNamestring

The name of the log group.

filterNamePrefixstring

The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the <code>logGroupName</code> parameter in your request.

nextTokenstring

The token for the next set of items to return. (You received this token from a previous call.)

limitinteger

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

metricNamestring

Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the <code>metricNamespace</code> parameter.

metricNamespacestring

Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the <code>metricName</code> parameter.

Response

Success

nextTokenstring

The token for the next set of items to return. The token expires after 24 hours.