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 Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...