Monitoring Splunk

I need real time monitoring in a folder to ensure that there is no file older than 15 minutes.

suhanrs
New Member

Currently, I have a setup ftp to drop a file in a folder which will be later moved out from the current folder to be processed.
The threshold is 1 and there shall not be any file present in the folder older than 15 mins.
How can I monitor the folder to ensure the file does not stay in the folder for more than 15 mins and it should alert if it stays longer than 15 mins.

fyi: running on Windows platform

Tags (1)
0 Karma

HiroshiSatoh
Champion

I think that it can be realized by shortening the monitoring interval with fschange.
For fschange read the notes in the document.

http://docs.splunk.com/Documentation/Splunk/7.1.1/Data/Monitorchangestoyourfilesystem

0 Karma

suhanrs
New Member

How to check on the file if it is there for more than 15 min?
Should it be done by a script?

0 Karma

HiroshiSatoh
Champion

Rather than getting the log, you can set the file's presence check and the monitoring interval. So I think that fschange is good.

I think that you can realize the time until deletion by alert for 15 minutes.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...