Home
EN
Location
Documentation Home
Palo Alto Networks
Support
Live Community
Knowledge Base
MENU
Home
Cortex
Cortex XDR
Cortex XDR™ XQL Language Reference
XQL Functions Reference
arraydistinct
Document:
Cortex XDR™ XQL Language Reference
arraydistinct
Download PDF
Last Updated:
Feb 1, 2021
Previous
Next
arraydistinct
Cortex XDR XQL arraydistinct() function returns an array containing unique values found in the original array.
Synopsis
arraydistinct (<
array
>)
Description
The
arraydistinct()
function accepts an array, and it returns a new array containing only unique elements found in the original array. That is, given the array:
[0,1,1,1,4,5,5]
this function returns:
[0,1,4,5]
Previous
Next
Recommended For You
Recommended Videos
Recommended videos not found.