cloudwatchlogs_describe_metric_filters: Lists the specified metric filters

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

Description

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.

Usage

1
2
cloudwatchlogs_describe_metric_filters(logGroupName, filterNamePrefix,
  nextToken, limit, metricName, metricNamespace)

Arguments

logGroupName

The name of the log group.

filterNamePrefix

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

nextToken

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

limit

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

metricName

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

metricNamespace

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

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
list(
  metricFilters = list(
    list(
      filterName = "string",
      filterPattern = "string",
      metricTransformations = list(
        list(
          metricName = "string",
          metricNamespace = "string",
          metricValue = "string",
          defaultValue = 123.0
        )
      ),
      creationTime = 123,
      logGroupName = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

1
2
3
4
5
6
7
8
svc$describe_metric_filters(
  logGroupName = "string",
  filterNamePrefix = "string",
  nextToken = "string",
  limit = 123,
  metricName = "string",
  metricNamespace = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.