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
SplunkTrust
SplunkTrust

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

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 ...