Splunk Search

Issue with conitnously monitoring a folder

deepthi5
Path Finder

Hi Team
I have a folder that consists of logs added every day i have given this folder as input to splunk to continuously monitor the folder and do few actions as per the search query but splunk is not picking up the newly indexed data but when i append the new data to existing files splunk starts picking up can anyone help me with this

Thanks and Regards,
Deepthi bulusu

Tags (3)
0 Karma

lagnone_splunk
Splunk Employee
Splunk Employee

Deepthi,

Are you sure that your monitor stanza is picking up the new files?
Is it only monitoring a folder? Check the splunkd.log for details on what tailing processor is doing.

For more details
1) Go to the splunk forwarder installation and edit the $SPLUNK_HOME/etc/log.cfg
2) Find these components and change them to DEBUG
TailingProcessor. BatchReader, WatchedFile
3) Restart the forwarder
4) Look for which files are being read

You can also hit the REST endpoint at port 8089 and look at file input status

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...