Getting Data In

How can I exclude data from being ingested by the universal forwarder?

neophyte01
Engager

Hello all,

I have recently set up Splunk to monitor /var/log/messages.
There is one event in this log that I would like to exclude.
The event itself really does not matter.
I would just like to know how I can keep certain types of data
from getting into Splunk, without ignoring the files which the data comes from.

Please help.

bobmorning
Engager

We have an outside scanning agency that is constantly doing nmap like scans of our external perimeter.  It is generating a log of log data on the perimeter CISCO firewalls.   We know the IPs that the scanning is coming from; is there a way to tell the forwarders to NOT forward that log data from the firewalls for those IPs?

Thanks for any insights on this.  Our Splunk SME are looking at CRIBL to do this but reading this thread makes me believe there are configuration settings that might address this?

V/R

Bob M.

0 Karma

niketn
Legend

@neophyte01, you can use nullQueue for this using transforms.conf and props.conf

Refer to documentation: http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Discard_specific_e...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

neophyte01
Engager

@niketnilay thanks. I believe this is what I need.

0 Karma

niketn
Legend

@neophyte01, I have converted to answer. Please accept if your issue is resolved.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

somesoni2
Revered Legend

And this will be configured on Indexer/Heavy forwarder, one to which your universal forwarder sends data to.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...