Rest APIs : REST API : Observer REST : Understanding the filter syntax
Understanding the filter syntax
Using filters in your REST API request allows you to extract the data that you want, whether by IP Pairs, IP Address, L4 Port, VLAN tags, or combining filters.
Some filter examples are provided here. More examples are given in the sections for IP Pair, IP address, Port, and VLAN Tag.
"filter": "ip OR (ip AND port udp/53)"
"filter": "(ip AND port udp/53)"
"filter": "ip OR ip[udp/53] OR port tcp/80"
"filter": "(ippair<->" AND (port udp/53 OR port tcp/80)) OR (ippair<->" AND (port udp/53 OR port tcp/80))"
"filter": "vlan 1470 OR vlan outer/1865"