Monitoring Splunk

Why does splunk list monitor not show directories?

kamal2222ahmed
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

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

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

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

ddrillic
Ultra Champion
0 Karma

richgalloway
SplunkTrust
SplunkTrust

What is your question?

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

kamal2222ahmed
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

spunk311z
Path Finder

same question here unfortunately...

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...