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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...