- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-04-2026 09:46 AM
Hi everyone,
What is the best and most efficient way to review network traffic and correlate or compare it with Host Firewall events using XQL?
I am looking for the optimal approach to query and analyze this data together without impacting performance. If anyone has a sample XQL query or advice on how you handle this in your SOC, I would really appreciate it.
Thanks in advance!
05-05-2026 06:38 AM
Hello @J.Gammara ,
Greetings for the day.
To review and correlate network traffic with Host Firewall events efficiently in Cortex XDR, you should utilize a combination of dedicated datasets and optimized XQL join stages.
The optimal approach involves querying the host_firewall_events dataset for firewall-specific enforcement and joining it with normalized network presets to gain process and connectivity context.
host_firewall_events dataset.network_story (Network Connections) preset, which contains stitched logs combining events from various sources. Alternatively, raw agent network events reside in the xdr_data dataset.The following query correlates blocked Host Firewall events with network connectivity data to identify which processes were involved in the blocked traffic:
dataset = host_firewall_events
| filter action = 2 // Filter for Blocked events
| fields _time, agent_hostname, action_local_ip, action_remote_ip, action_remote_port, action_process_image_path, actor_process_instance_id, agent_id
| join (
preset = network_story
| fields agent_hostname, actor_process_instance_id, action_app_id_transitions, action_external_hostname
) as net network.agent_hostname = agent_hostname and network.actor_process_instance_id = actor_process_instance_id
| fields _time, agent_hostname, action_process_image_path, action_local_ip, action_remote_ip, action_remote_port, net.action_app_id_transitions, net.action_external_hostname
If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution".
Thanks & Regards,
S. Subashkar Sekar
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!

