Getting Data In

Monitoring files from multiple inputs


How can I set my monitor in inputs.conf so that both of these directories are monitored-
2. /var/lib/newuser/usr

If I do [monitor:///var/lib/.../usr/] - will that work for both? Or will that assume that there is at least one subdirectory between "lib" and "usr"

Thanks in advance!

Tags (2)
0 Karma

Splunk Employee
Splunk Employee

In general terms these two directories separate entities. While they are in the same tree, these have different inodes and you can monitor each individually. So, the answer to your question is to create two (2) separate entries in inputs.conf.

sourcetype = answers-1370379558 

sourcetype = answers-1370379591 

Is there more to your question?

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!