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.

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

The name of the CloudWatch metric to which the monitored log information should be published. For example, you may publish to a metric called ErrorCount.

Returns:

  • (String)

    The name of the CloudWatch metric to which the monitored log information should be published.

#metric_namespaceString

The namespace of the CloudWatch metric.

Returns:

  • (String)

    The namespace of the CloudWatch metric.

#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.