⚠️
This product is no longer sold. We no longer update these help pages, so some information may be out of date.
Using Logical Operators in a Search Query
Log Management (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.