Array Query Functions
LogScale's array functions allow you to extract, create and manipulate items embedded in arrays within events.
Table: Array Query Functions
Function | Implied Argument | Availability | Description |
---|---|---|---|
array:contains(array, value) | array | introduced in 1.62 | Checks whether the given value matches any of the values of the array and excludes the event if no value matches |
array:eval(array, [as], function, var) | array | introduced in 1.39 | Evaluates the function argument on all values in the array under the array argument overwriting the array |
array:filter(array, [as], function, var) | array | introduced in 1.39 | Drops entries from the input array using the given filtering function. |
array:intersection(array, [as]) | array | introduced in 1.39 | Determines the set intersection of array values over input events |
array:reduceAll(array, function, var) | array | introduced in 1.39 | Computes a value from all events and array elements of the specified array. |
array:reduceColumn(array, [as], function, var) | array | introduced in 1.39 | Computes an aggregate value for each array element with the same index. |
array:reduceRow(array, [as], function, var) | array | introduced in 1.39 | Computes an aggregated value of an array on all events. |
array:regex(array, [flags], regex) | array | introduced in 1.62 | Checks whether the given pattern matches any of the values of the array and excludes the event from the search result |
array:union(array, [as]) | array | introduced in 1.39 | Determines the set union of array values over input events. |