Getting Data In

Is it possible to monitor whether there are any files in a folder without indexing them?

newbiesplunk
Path Finder

Hi,

Is it possible to monitor whether there are any files in a folder without indexing them?

thks

0 Karma

sanjay_shrestha
Contributor

If you do not prefer to ingest file then you can write a script and run in desired interval (via cron or scheduler), which will continuously monitors a folder and write a log with one event with file count information.

e.g.
04/02/2015 10:20:30.00 - File Count = 2

then you can create an alert for this event.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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