Using Logical Operators in a Search Query
InsightOps supports the following logical operators to create comprehensive search criteria:
Logical Operator | Example | Description |
---|---|---|
AND | where(expr1 AND expr2) | Returns log events that match both criteria |
OR | where(expr1 OR expr2) | Returns log events that match one or both criteria |
NOT | where(expr1 NOT expr2) | Returns log events that match expr1 but not expr2 |
When constructing a Search Query, all operators should be typed in UPPERCASE.
Did this page help you?