Getting Data In

blacklist events from log file

newbiesplunk
Path Finder

Hi,
I wish to exclude certain events not to forward to indexer, as below. How to configure that? thks & rgds

.......Directory=.....
....Module=abc....

Tags (1)
0 Karma

Runals
Motivator

There are a couple ways to do that but if you could flesh out some examples of what you are talking about it would be easier to help. The closest thing to the data is generally preferred/the best. That would be done with using blacklist in an an inputs.conf on the forwarder. That would be placed in $SPLUNK_HOME/etc/system/local OR could be pushed out by a deployment server in which case they would live in $SPLUNK_HOME/etc/apps/<your app>/local/

Exclude: /var/log/foo

[monitor::///var/log]
blacklist = foo

0 Karma

krish3
Contributor

I believe you are looking something like eventlog filtering.

Checkout EventLog filtering using inputs.conf here

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...