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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...