Getting Data In

Preferred placement of files to be monitored (which inputs.conf)

RVDowning
Contributor

My indexer is on Linux, but all the forwarders are on Windows. I've been putting the file names being monitored into the inputs.conf file in the MSICreated directories. Thought I should check to see which of the inputs.conf files is considered the "best practices" directory for listing such items.

Tags (1)
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

Not sure there is a best practice with regard to where you 'should' put your particular inputs so long as they work. It is generally less confusing when all configuration is done in a single place so precedence doesn't cause problems. File precedence with conf files that is a very important item to understand. The highest precedence is assigned to conf files located in $SPLUNK_HOME/etc/system/local/.

http://www.splunk.com/base/Documentation/latest/admin/Wheretofindtheconfigurationfiles

View solution in original post

jbsplunk
Splunk Employee
Splunk Employee

Not sure there is a best practice with regard to where you 'should' put your particular inputs so long as they work. It is generally less confusing when all configuration is done in a single place so precedence doesn't cause problems. File precedence with conf files that is a very important item to understand. The highest precedence is assigned to conf files located in $SPLUNK_HOME/etc/system/local/.

http://www.splunk.com/base/Documentation/latest/admin/Wheretofindtheconfigurationfiles

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...