Sweater winter Sweaters o Boutique T Pullover HCv7wq

Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY

Gap Leisure winter winter winter Leisure Jacket Jacket Leisure Gap Gap Leisure Jacket wTHqYCA

The In operator returns a Boolean value: true if the specified property is in the specified object, or false if it is not.

Syntax

  • in ([, , , ...])

In the syntax, we are checking the value of the field provided for the argument.

If the value of matches any of value arguments (, , ...) the function will return true. Otherwise, it will return false.

Examples

Two Wool Two Button Kappa Suit Kappa Wool
Find 5xx or 4xx errors, otherwise OK message

The following query:

_sourceCategory=Apache/Access
| parse "GET * HTTP/1.1\" * * \"*\"" as url, status_code, size, referrer
| if (status_code in ("500", "501", "502", "503", "504", "505", "506", "401", "402", "403", "404"), "error", "OK message") as reason

would return results similar to:

Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY Suit Kappa Two Kappa Wool Two Button Wool n7x0w8EZqY