Getting Data In

Directory Names

dzilk
Engager

I am new to splunk and am trying to set up a monitored directory. It appears that when browsing for an existing directory to use, splunk does not recognize directories named with a leading underscore character. Has anyone else observed this? I am running splunk on Windows 7.

Tags (2)

MHibbin
Influencer

dzilk,

I assume you are using the GUI to build your monitored inputs, I would recommend setting your inputs up, using the inputs.conf file. The reason being that you have a lot more control over what Splunk does, when you modify the conf files.

To get you started you can find a "monitor" stanza, which has already been set up, in you inputs.conf and replicate it for your needs.

The following documentation should help with the setup of your inputs.conf (http://docs.splunk.com/Documentation/Splunk/4.3/admin/Inputsconf)

The following documentation shows gives some direction on setting up a monitor stanza in your inputs.conf (http://docs.splunk.com/Documentation/Splunk/latest/Data/Editinputs.conf)

Regards,

Matt

dzilk
Engager

Thanks for the answer. I was really more concerned that some directories on my server were not visible and select-able from the GUI. Is this a bug? This was specifically noted on the "Preview Data before Indexing" screen when choosing a file or directory to index. If 'Browse Server' is selected, some folders are not displayed, specifically those whose names begin with an underscore.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...