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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...