round

Cortex XDR XQL round() function returns the input value rounded to the nearest integer.

Synopsis

round (<
float
> | <
integer
>)

Description

The
round()
function accepts either a float or an integer as an input value, and it returns the input value rounded to the nearest integer. For example:
dataset = xdr_data | alter mynum = divide(action_file_size, 7) | alter mynum2 = round(mynum) | fields action_file_size, mynum, mynum2 | filter action_file_size > 3 | limit 1

Recommended For You