Parsing out VLANS from netflow collection

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

Parsing out VLANS from netflow collection

L1 Bithead

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.  

1 REPLY 1

L3 Networker

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"

  • 957 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!