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!

Unlock New Opportunities with Splunk Education: Explore Our Latest Courses!

At Splunk Education, we’re dedicated to providing top-tier learning experiences that cater to every skill ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...