- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-25-2023 09:11 AM
In Cortex XDR I'm trying to figure out how to create a parsing rule that will allow me to drop anything from certain VLAN's prior to it ingesting. Trying to use the Collect and filter but can't seem to figure out how to exclude a VLAN without having to specifiy each network individually which would lead to a mess to look at having so many nested statements.
01-30-2023 03:42 AM
Hi @barnettml
Here is the sample for dropping logs.
When you write parsers, If there is no hit based on your parsing rule, XDR'll drop logs and will not write to target_dataset
[INGEST:vendor="PANW", product="XDR Agent", target_dataset="PANW_XDR_Agent_parsed", no_hit=drop]
filter _raw_log not contains "vlan12"
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!