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!

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 ...