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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...