The following TQL queries can be used for traffic validation and network visibility.
| groupby [class]
| groupby [srcisp,dstisp]
Alerts triggered by local deployment tests that are run from the Network Security appliance Web UI or CLI.
class=fireeye_nx_alert has(domain) has(url) domain:/fedeploycheck/ | groupby [devicename,deviceid]
All classes (except fireeye_nx L7 network metadata) that reference destination ports 80, 8080, or 443) and grouped by class, destination port, and protocol.
!class:fireeye_nx dstport:[80,8080,443] | groupby [class,dstport,protocol]
Note
This example includes a reference to a list of external Citrix servers.
class:fireeye_nx dstipv4:$external_citrix_servers connstate:"sf" | groupby srccountry 200
List of internal IPs on a subnet
class:"bro_*" srcipv4:"<SUBNET ADDRESS/CIDR>" srcisp:"private ip address lan"| groupby srcipv4 500
List of incoming connections to internal addresses from a non-internal source
class:"bro_*" dstipv4:"<SUBNET ADDRESS/CIDR>" srcisp!:"private ip address lan" | groupby srcipv4 500
List of connections from an internal subnet by source and destination ISP
class:"bro_*" srcipv4:"<SUBNET ADDRESS/CIDR>" | groupby [srcisp,dstisp]
List of incoming connections to internal addresses from a non-internal source by source and destination ISP
class:"bro_*" dstipv4:"<SUBNET ADDRESS/CIDR>" srcisp!:"private ip address lan" | groupby [srcisp,dstisp]
class=bro_http connectionid=<CONNECTION ID> | groupby [dstisp,srcisp]
has:detect_rulematches | groupby detect_rulenames
class:fireeye_faf has:virus
Compares the number of events received in one hour from each log source.
start:"2014-03-14 15:00:00" end:"2014-03-14 16:00:00" | groupby class start:"2 hours ago" end:"1 hour ago"| groupby class