Test Metric Filter
cloudwatchlogs_test_metric_filter | R Documentation |
Tests the filter pattern of a metric filter against a sample of log event messages¶
Description¶
Tests 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.
Usage¶
Arguments¶
filterPattern
[required]
logEventMessages
[required] The log event messages to test.
Value¶
A list with the following syntax:
list(
matches = list(
list(
eventNumber = 123,
eventMessage = "string",
extractedValues = list(
"string"
)
)
)
)