You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::DescribeMetricFiltersRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeMetricFiltersRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  log_group_name: "LogGroupName",
  filter_name_prefix: "FilterName",
  next_token: "NextToken",
  limit: 1,
  metric_name: "MetricName",
  metric_namespace: "MetricNamespace",
}

Instance Attribute Summary collapse

Instance Attribute Details

#filter_name_prefixString

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

Returns:

  • (String)

    The prefix to match.

#limitInteger

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

Returns:

  • (Integer)

    The maximum number of items returned.

#log_group_nameString

The name of the log group.

Returns:

  • (String)

    The name of the log group.

#metric_nameString

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.

Returns:

  • (String)

    Filters results to include only those with the specified metric name.

#metric_namespaceString

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.

Returns:

  • (String)

    Filters results to include only those in the specified namespace.

#next_tokenString

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

Returns:

  • (String)

    The token for the next set of items to return.