Splunk Search

Filtering PaloAlto events

Gene
Path Finder

Dear Splunkers, can you please help with the following problem:

We use single instance and PaloAlto logs are sent through udp. We have a lot of noisy events which I want to send to nullQueue. I have created props.conf and transforms.conf files:
props:
[pan:threat]
TRANSFORMS_drop = discard_info

Transforms:
[discard_info]
REGEX = ,informational,
DEST_KEY = queue
FORMAT = nullQueue

short part of log, that contains "informational" which I want to filter:   ,business-and-economy,informational,client-to-server,6966642515657316810,

For now events are not filtered out and I have no clue how to make it working, will really appreciate your help!

Labels (1)
0 Karma
1 Solution

Gene
Path Finder

Yes, I did. I have fixed problem by changing REGEX:
[discard_info]
REGEX = ^.*(THREAT,url,).*(informational).*$
DEST_KEY = queue
FORMAT = nullQueue

And also I have found that sourcetype needs to be pan:logs because with pan:thread - it is not working.

For now have additional problem trying to filter also events of pan:traffic and after editing transforms.conf file with additional stanza  :
[discard_traffic]
REGEX = ^.*(TRAFFIC,end).*(informational).*$
DEST_KEY = queue
FORMAT = nullQueue

and adding in props.conf discard_traffic - everything stops working... So I'm trying to figure out why this is happening

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Did you restart Splunk after changing the .conf files?  Does the incoming data have the expected sourcetype (pan:threat)?

---
If this reply helps you, Karma would be appreciated.

Gene
Path Finder

Yes, I did. I have fixed problem by changing REGEX:
[discard_info]
REGEX = ^.*(THREAT,url,).*(informational).*$
DEST_KEY = queue
FORMAT = nullQueue

And also I have found that sourcetype needs to be pan:logs because with pan:thread - it is not working.

For now have additional problem trying to filter also events of pan:traffic and after editing transforms.conf file with additional stanza  :
[discard_traffic]
REGEX = ^.*(TRAFFIC,end).*(informational).*$
DEST_KEY = queue
FORMAT = nullQueue

and adding in props.conf discard_traffic - everything stops working... So I'm trying to figure out why this is happening

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If your problem is resolved, then please click the "Accept as Solution" button to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...