Monitoring Splunk

Cannot search for new file- How do I get Splunk to pick up the file so I can view it in the UI?

kielsd1045
New Member

I am creating a new file in the /var/log directory but when I sure for events I get zero result. How do I get Splunk to pick up the file so I can view it in the UI?

0 Karma

diogofgm
SplunkTrust
SplunkTrust

You need to check if you have a monitor input configured in the machine where the file is.

In the machine it self you can use tool to find this

/opt/splunk/bin/splunk btool inputs list --debug monitor
------------
Hope I was able to help you. If so, some karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Video | Welcome Back to Smartness, Pedro

Remember Splunk Community member, Pedro Borges? If you tuned into Episode 2 of our Smartness interview series, ...

Detector Best Practices: Static Thresholds

Introduction In observability monitoring, static thresholds are used to monitor fixed, known values within ...

Expert Tips from Splunk Education, Observability in Action, Plus More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...