Numerical Operators
A list of numerical operators supported by Cribl Search.
Numerical operators perform arithmetic operations on values of the following types:
You can use the following numerical operators between pairs of the above value types:
Operator | Description |
---|---|
== | Equal |
!= | Not Equal |
> | Greater Than |
>= | Greater Than or Equal To |
< | Less Than |
<= | Less Than or Equal To |
+ | Add |
- | Subtract |
* | Multiply |
/ | Divide |
% | Modulo |
Don’t use the
+
operator to concatenate strings (with the"string1" + "string2"
notation). Use thestrcat-delim
orstrcat
functions instead.
See also: null
and Binary Operators.