CmdID

CmdID / aws / aws logs

aws logs test-metric-filter

Tests the filter pattern of a metric filter against a sample of log event messages. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--filter-patternA symbolic description of how CloudWatch Logs should interpret the data in each log event.
--log-event-messagesThe log event messages to test.