Getting Data In

Monitor Whitelist File extensions

SplunkUser5888
Path Finder

Hey guys, I guess this is a simple question but all the answers I look at seem very complicated for what I want.
I want splunk to do a monitor on C:\Program Files on extensions *.exe, *.com, *.scr and *.dll

But when I try

[monitor://C:\Program Files]
sourcetype = fileExtensions
whitelist = *.exe, *.dll, *.scr, *.com

I get ALL the files in Program Files appearing in the Splunk search.

I guess I am doing whitelisting wrong, any help?

Tags (1)
0 Karma
1 Solution

Mathieu_Dessus
Splunk Employee
Splunk Employee

Hi M-A 🙂

whitelist and blacklist are not a list of values, but a regular expression.
Have a look at the bottom of this page: http://docs.splunk.com/Documentation/Splunk/5.0/data/Specifyinputpathswithwildcards

View solution in original post

0 Karma

Mathieu_Dessus
Splunk Employee
Splunk Employee

Hi M-A 🙂

whitelist and blacklist are not a list of values, but a regular expression.
Have a look at the bottom of this page: http://docs.splunk.com/Documentation/Splunk/5.0/data/Specifyinputpathswithwildcards

0 Karma

SplunkUser5888
Path Finder

Salut, thanks, I couldn't find that document

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...