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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...