All Apps and Add-ons

Get Status of File arrived in folder or not.

Ravi_c
New Member

Hi,

I need to know , whether splunk can be used for file monitoring purpose, If yes , How can I configure that.

Requirement : I have server folder path, where files will be ftp to this path and after arriving this file, I need to process. This file will come in an interval of 15Mins. So for every 15 Mins I Need to look into that folder and If the file is there then no need of doing anything. In case if file is not there then I need to raise a alert.

Please help.

0 Karma

bizza
Path Finder

You only need to monitor the directory path, incoming files will be processed and indexed as soon as they'll copied on it.
To manage the alert I suggest you to setup a script, (if -e in bash, for example), as a scripted input or to write some output to a file, and manage alerts using that file.

regards

0 Karma

Ravi_c
New Member

Hi Bizza,

Thanks for you suggestion, can u go little deeper, and could you tell me how can I setup the alert script, currently I need to put this type of alert on 14 Unix servers, so how can my script jump into that server and find the files, and also , how can I redirect the command output/file output to the alert body.

Thanks.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...