in( ) Query Function

Filter records by values where field is in values.

Parameters

Name Type Required Default Description
field string Yes The field to filter records by.
values [string] Yes The values for to match the field against. A field which any of these values will pass through. Values can contain * wildcards.

field is the unnamed parameter.

Examples

Filter by Log Level

loglevel =~ in(values=["ERROR", "WARN"])