Getting Data In
Highlighted

monitoring for /root/.bash_history works for particular copies of inputs.conf (depending on directory structure)

Path Finder

Hello Folks,

I have two copies of inputs.conf, one is under the etc/apps/local directory ( created the local and placed inputs.conf) , now the inputs.conf in the apps directory is actually a copy of the inputs.conf from system/local with minor modifications and additional parameters, now I am tryin to monitor /root/.bash_history/. this monitor works fine if I place it under /etc/system/local/inputs.conf but if i place it inside /apps/local/ , it doesnt work fine, and the same holds true for few other fschange parameters like /home, /etc

any idea? I have placed the ownership for all these under splunk only ..

- Raghu

Tags (1)
0 Karma
Highlighted

Re: monitoring for /root/.bash_history works for particular copies of inputs.conf (depending on directory structure)

Path Finder

This issue got resolved, i was going wrong in creating directory structure, the precedence follows the order of /etc/system/local & /etc/apps/ABCD/local ( i had this placed as /etc/apps/local)

Raghu

Highlighted

Re: monitoring for /root/.bash_history works for particular copies of inputs.conf (depending on directory structure)

Splunk Employee
Splunk Employee

Absolutely. More detailed information about configuration file precedence can be found in the admin manual :
http://www.splunk.com/base/Documentation/4.1.4/Admin/Wheretofindtheconfigurationfiles

0 Karma