Getting Data In

Filter Router Syslog Events

barne_dn
Explorer

I'm working on a project in which we want specific router syslog events logged in splunk. Currently we're only interested in a couple of specific events which don't happen often. As far as I know from my reading there is no easy way to simply have our routers just log these specific events, so we have to do the filtering in some other way.

If we simply just dump all of the events into splunk it would make things very easy, we can just query the data for these specific events, but the problem is that we have so many routers that this data would quickly fill up our space, and would include 99.9% of the events we don't currently care about.

I need a way to filter the 0.1% of events we ARE looking for, and delete what is not needed in order to save space.

Would the best way to do this be to setup a syslog-NG server, have that server do the collecting and filtering and then forward the final product over to our splunk installation?

OR is there some way to have splunk collect all of the data, but then filter out and delete the data we don't care about? If it can be done in splunk (our prefered method), can someone point me to some documentaiton or more information?

Tags (2)
0 Karma

MuS
Legend

Hi barne_dn

you can filter unwanted events in Splunk and route them into the null queue, read more here in the docs http://docs.splunk.com/Documentation/Splunk/4.3.4/Deploy/Routeandfilterdatad#Filter_event_data_and_s...

cheers,

MuS

Get Updates on the Splunk Community!

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Splunk Observability Cloud’s AI Assistant in Action Series: Identifying Unknown ...

Agentic AI powers the Splunk AI Assistant within the Splunk Observability Cloud interface to help you quickly ...