Getting Data In

custom Blacklist not working correctly

sushildabare
Path Finder

Trying to make a custom blacklist for one of my input monitor points that excludes certain directories and filetypes


[monitor:///usr/sap/IX4/DVEBMGS26/work]
disabled = false
blacklist = \VM*.$
blacklist = \vm
.$
blacklist = (logs|jtmp)$
blacklist = *.(CPIC|old|trc|dump|DAT|CSV|sql)$
blacklist = \Y_
.*$

[monitor:///sapdb/data/wrk/IX4/knltrace]
disabled = false

[monitor:///sapdb/data/wrk/IX4/dbm.prt]
disabled = false

[monitor:///sapdb/data/wrk/IX4/KnlMsg]
disabled = false


But still files VM*.* and directory logs is not getting blacklisted. Can you please chck if syntax is correct?

Thanks & regards,
Kratika

Tags (1)
0 Karma

jlaw
Splunk Employee
Splunk Employee

In this topic in the docs:

http://docs.splunk.com/Documentation/Splunk/latest/Data/Whitelistorblacklistspecificincomingdata

there's a note: "Important: If you create a blacklist line for each file you want to ignore, Splunk activates only the last filter."

So it sounds like you need to combine your five lines into one in the [monitor:///usr/sap/IX4/DVEBMGS26/work] stanza.

Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...