arraycreate

Cortex XDR XQL arraycreate() function creates an array based on the given parameters.

Synopsis

arraycreate ("<
array element1
>", "<
array element2
>",...)

Description

The
arraycreate()
function returns an array based on the given parameters defined for the array elements.

Example

Returns a final array to a field called x that is comprised of the elements [1,2].
dataset = xdr_data | alter x = arraycreate("1", "2") | fields x

Recommended For You