On this page

Query Syntax for Logs Explorer

Filter, group, and visualize logs with precision.

Logs Explorer query syntax filters, groups, and visualizes logs using property prefixes, logical operators, and wildcards. Use these operators in day-to-day investigations, and adapt the examples below to your own logs.

Plain text searches match only against the log message field, not the entire log body.

Basics

Property prefixes

Logical operators

These are query-level connectors. They combine or negate multiple conditions.

Other operators

These are field-level conditions.

You can use the * character as a wildcard in queries. A wildcard matches zero or more characters inside a field value.

Wildcards can impact query performance. Use them sparingly.

Additional examples

Was this helpful?