Describe Metric Filters
| cloudwatchlogs_describe_metric_filters | R Documentation |
Lists the specified metric filters¶
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¶
cloudwatchlogs_describe_metric_filters(logGroupName, filterNamePrefix,
nextToken, limit, metricName, metricNamespace)
Arguments¶
logGroupNameThe name of the log group.
filterNamePrefixThe prefix to match. CloudWatch Logs uses the value that you set here only if you also include the
logGroupNameparameter in your request.nextTokenThe token for the next set of items to return. (You received this token from a previous call.)
limitThe maximum number of items returned. If you don't specify a value, the default is up to 50 items.
metricNameFilters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the
metricNamespaceparameter.metricNamespaceFilters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the
metricNameparameter.
Value¶
A list with the following syntax:
list(
metricFilters = list(
list(
filterName = "string",
filterPattern = "string",
metricTransformations = list(
list(
metricName = "string",
metricNamespace = "string",
metricValue = "string",
defaultValue = 123.0,
dimensions = list(
"string"
),
unit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"
)
),
creationTime = 123,
logGroupName = "string"
)
),
nextToken = "string"
)