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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...