Archive

splunk list monitor does not show directories

Explorer

$/opt/splunkforwarder/bin/splunk list monitor
Monitored Directories:
[No directories monitored.]
Monitored Files:
/var/log
/var/log/audit
/var/log/opscode
/var/log/opscode/bookshelf/current

0 Karma

SplunkTrust
SplunkTrust

The "Monitored Directories" section lists the batch:// inputs.
The "Monitored Files" section lists the monitor:// intputs.

---
If this reply helps you, an upvote would be appreciated.
0 Karma

Ultra Champion
0 Karma

SplunkTrust
SplunkTrust

What is your question?

---
If this reply helps you, an upvote would be appreciated.
0 Karma

Explorer

So the questions is:
Why am i getting "[No directories monitored.]", when i have :
[root@chef-nonprod-fe1 local]# cat inputs.conf
[default]
[monitor:///var/log/]
[monitor:///var/log/audit/]
[monitor:///var/log/opscode/]
host = chef-nonprod-fe1.a.b.c
[root@chef-nonprod-fe1 local]# pwd
/opt/splunkforwarder/etc/system/local

0 Karma