Getting Data In

How to invoke Splunk daemon to parse newly added file right away

Stan
New Member

Since I usually turned of splunkd service on my local machine and only turn it back on when I need to do some log search.

Chances that when I turn the daemon back on, I will have some more files that needs to be indexed right away for search. Is there any way can make Splunk daemon do this? There may be 2 cases:

  1. index a file in an already under tracked folder.
  2. index a random file that's not under tracking folder.

Thanks.

Tags (1)
0 Karma
1 Solution

Genti
Splunk Employee
Splunk Employee

The file that is already under a tracked folder should be picked up automatically by splunk as soon as it gets turned on.
To monitor the new file all you have to do is login to splunk, go to manager, then data inputs and then files and directories. There you can tell splunk to monitor the new file and the parsing should start immediately. Follow these breadcrumbs: Manager » Data inputs » Files & Directories » Add New

View solution in original post

0 Karma

Genti
Splunk Employee
Splunk Employee

The file that is already under a tracked folder should be picked up automatically by splunk as soon as it gets turned on.
To monitor the new file all you have to do is login to splunk, go to manager, then data inputs and then files and directories. There you can tell splunk to monitor the new file and the parsing should start immediately. Follow these breadcrumbs: Manager » Data inputs » Files & Directories » Add New

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...