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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

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

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...