cloudwatchlogs_put_metric_filter: Creates or updates a metric filter and associates it with the...

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_put_metric_filterR Documentation

Creates or updates a metric filter and associates it with the specified log group

Description

Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through put_log_events.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_metric_filter/ for full documentation.

Usage

cloudwatchlogs_put_metric_filter(
  logGroupName,
  filterName,
  filterPattern,
  metricTransformations
)

Arguments

logGroupName

[required] The name of the log group.

filterName

[required] A name for the metric filter.

filterPattern

[required] A filter pattern for extracting metric data out of ingested log events.

metricTransformations

[required] A collection of information that defines how metric data gets emitted.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.