filterPattern
The pattern to use to filter the returned log events to a specific term.
The following are a few examples of filter patterns that you can specify:
To return all log events, specify a filter pattern of
""
.To exclude log events that contain the
ERROR
term, and return all other log events, specify a filter pattern of"-ERROR"
.To return log events that contain the
ERROR
term, specify a filter pattern of"ERROR"
.To return log events that contain both the
ERROR
andException
terms, specify a filter pattern of"ERROR Exception"
.To return log events that contain the
ERROR
or theException
term, specify a filter pattern of"?ERROR ?Exception"
.