Skip to main content
Skip table of contents

NQL comparison operators

Operator

Definition

Examples

== or =

Equals

name == "abc" or name = "ABC" or name == "abc*" or name == "a?c"

!=

Not equals

name != "abc" or name != "ABC" or name != "abc*" or name != "a?c"

>

Greater than

size > 10

<

Less than

size < 10

>=

Greater or equals

size >= 10

<=

Less or equal

size <= 10

All expressions used in combination with these operators are case insensitive and support wildcard characters.

So for example the following query

CODE
devices during past 24h
| where name == "CORPSYS2022-*"

is exactly the same as

CODE
devices during past 24h
| where name == "CoRpSyS2022-*"

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.