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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...