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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...