16.3. Filter functions reference

This section contains a reference for each of functions that can be used in JavaScript filters.

Table 16.12. JavaScript filter functions

Function Description Type
Subnet membership
Tests if an address is in a subnet
inSubnet(address, subnet, maskBits) returns true if address is in subnet with maskBits boolean
inSubnet(address, subnetName) returns true if address is in subnetName, where subnetName has been previously defined as a named subnet in sFlowTrend-Pro. boolean
Output ifIndex
Tests output interfaces
outputIfIndexIncludes(ifIndex) returns true if the output interfaces includes ifIndex boolean