You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatchLogs::Types::TestMetricFilterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::TestMetricFilterRequest
- Defined in:
- (unknown)
Overview
Note:
When passing TestMetricFilterRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
filter_pattern: "FilterPattern", # required
log_event_messages: ["EventMessage"], # required
}
Instance Attribute Summary collapse
-
#filter_pattern ⇒ String
A symbolic description of how CloudWatch Logs should interpret the data in each log event.
-
#log_event_messages ⇒ Array<String>
The log event messages to test.
Instance Attribute Details
#filter_pattern ⇒ String
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.
#log_event_messages ⇒ Array<String>
The log event messages to test.