XQL question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XQL question

L0 Member

Hello,

I'm trying to get all the outgoing firewall traffic, except port 80, 443 using the query below but no sucess. Any ideias?

 

dataset = panw_ngfw_traffic_raw
| filter source_ip in ("x.x.x.x/24")
| filter dest_port != 443 and 80
| fields _time, source_ip, dest_ip, dest_port, action, app, bytes_sent, bytes_received, _device_id, rule_matched

 

 

Bru
1 REPLY 1

L4 Transporter

Hi, this should work for you

 

dataset = panw_ngfw_traffic_raw
| filter source_ip incidr "x.x.x.x/24"
| filter dest_port != 443 and dest_port != 80
| fields _time, source_ip, dest_ip, dest_port, action, app, bytes_sent, bytes_received, _device_id, rule_matched

 

happy querying

 

  • 217 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!