Skip to main content

Lumi query syntax

This topic provides a reference for Imply Lumi query operators and syntax.

For more information about searching events, see Search events with Lumi.

Supported syntax

Use the following operators and syntax in Lumi queries to filter events, compare values, and combine conditions. If your search term includes a space, enclose it in double quotes (").

Operator/SyntaxUseExample
=Equal toindex=main
!=Not equal tomethod!=POST
>Greater thanbytes>5000
>=Greater than or equal todate_hour>=13
<Less thanbytes<5000
<=Less than or equal todate_mday<=4
ANDMatch both conditionsmethod=GET AND status=404
ORMatch either or both conditionssplunk_server=observe-01 OR host=web-01
NOTExclude results that match a conditionNOT uri=/register
INMatch if a field's value is in a listuser IN (aaron94,jasmine23)
NOT INMatch if a field's value is not in a listNOT status IN (400,401,403)
(a AND b) OR cControl the order of operations of Boolean expressions(uri=/shop AND uri_path=/shop) OR user=bernd74
attributeName=*Match when an attribute is not nullreferer=*
NOT attributeName=*Match when an attribute is null or not setNOT useragent=*
""Search for an exact phraseuseragent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
*Wildcard matchinguseragent="*Windows NT*"
#System attribute query#receiver=imply.file

Note the following:

  • All queries are case-sensitive.
  • You can type a space to match search conditions instead of using the AND operator, for example method=GET status=404.
  • To search for a term containing special characters, enclose it in double quotation marks (") or escape it with a backslash (\). For example, to search for the string error (critical), use the search term "error (critical)" or error \(critical\).
  • To search for a double quotation mark itself, escape it with a backslash (\). For example, to search for the string "404 not found", use the search term \"404 not found\".

See search limitations for a list of unsupported syntax elements.

Search limitations

Lumi doesn't currently support the following search syntax elements:

  • Pipes to chain query operations or transform data, for example a | b
  • Approximate equals, for example attributeName~=searchterm
  • Searching JSON values within an event body
  • Splunk® Search Processing Language (SPL)

Learn more

See the following topics for more information: