Getting Data In

Input source path case sensitive?

eugenekogan
Explorer

Is the path specified in a monitor stanza in inputs.conf case sensitive?

For example, [monitor://C:\Windows\System32\dhcp] does not seem to work on servers that use the path of C:\WINDOWS\system32\dhcp. It's the same path except for capitalization of directory names.

If this is correct, is there a way to make it not case sensitive?

Thanks!

Tags (2)

jacobappleton
Explorer

While I haven't been able to find anything in the documentation, in my experience, yes, Windows paths are case-sensitive.

0 Karma

tgow
Splunk Employee
Splunk Employee

If you are having problems then I would suggest that you take advantage of wildcarding for directories which is available. Here is an example:

[monitor::C:\...dhcp]

or

[monitor::...System32\dhcp]

Here is a link to more information:

http://docs.splunk.com/Documentation/Splunk/4.3/Data/Specifyinputpathswithwildcards

gbronner_rbc
Explorer

The original poster asked a reasonable question, which is that while files are case-sensitive on Unix, the convention is that they are not on Windows. Hence, this behaviour, if confirmed, would be uncommon, and deserves to be highlighted.

Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...