C# Класс Amazon.CloudWatchLogs.Model.PutMetricFilterRequest

Container for the parameters to the PutMetricFilter operation. Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents.

The maximum number of metric filters that can be associated with a log group is 100.

Наследование: AmazonCloudWatchLogsRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PutMetricFilterRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

PutMetricFilterRequest ( string logGroupName, string filterName, string filterPattern, List metricTransformations ) : System

Instantiates PutMetricFilterRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetFilterName ( ) : bool
IsSetFilterPattern ( ) : bool
IsSetLogGroupName ( ) : bool
IsSetMetricTransformations ( ) : bool

Описание методов

PutMetricFilterRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public PutMetricFilterRequest ( ) : System
Результат System

PutMetricFilterRequest() публичный Метод

Instantiates PutMetricFilterRequest with the parameterized properties
public PutMetricFilterRequest ( string logGroupName, string filterName, string filterPattern, List metricTransformations ) : System
logGroupName string The name of the log group.
filterName string A name for the metric filter.
filterPattern string A filter pattern for extracting metric data out of ingested log events.
metricTransformations List A collection of information needed to define how metric data gets emitted.
Результат System