Tests the filter pattern of a metric filter against a sample of log event messages
Source:R/cloudwatchlogs_operations.R
cloudwatchlogs_test_metric_filter.RdTests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_test_metric_filter/ for full documentation.
Arguments
- filterPattern
[required] A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
- logEventMessages
[required] The log event messages to test.