Getting Data In

Blacklist directories?

ustun
Explorer

I'm missing something here:

blacklist = (samba|yum|.gz)

samba is a directory, the others are files.

splunk still tries to monitor samba here, I see it in the output of "splunk list monitor". Also splunkd.log says permission denied for samba, which means it's not ignoring it.

What am I missing? Is there a problem with the regex?

Ustun

Tags (1)
0 Karma

dantimola
Communicator

This answer is late, but for this problem you can just add the stanza below for your inputs.conf

[blacklist://<path>]

Cheers,
Dan

0 Karma

akocak
Contributor

I haven't seen any example that you can blacklist directory yet

0 Karma

ustun
Explorer

It didn't work that way either, I don't see a problem with this simple regex. I guess something else is going on. Will update once resolved.

Ustun

0 Karma

mamaral
Path Finder

try it that: lacklist.0 = complete path of samba folder lacklist.1 = *yum lacklist.2 = *.gz

Amaral

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...