Getting Data In

How to exclude files from indexing using blacklist?

sergeyvinnik
Explorer

I need to blacklist files with specific letters inside the hostname like:

d:\logs\xxxxxxxxxMyLog__yyyyyyyy.txt

In this sample I want to ignore files with "MyLog__" combination inside the hostname.
What should I enter into Blacklist field in Web GUI?

Tags (1)
0 Karma

dshpritz
SplunkTrust
SplunkTrust

You would enter something like:

.*MyLog__.*

0 Karma

emechler_splunk
Splunk Employee
Splunk Employee

When you say hostname, do you really mean the full path name to the file?

0 Karma
Get Updates on the Splunk Community!

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...