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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...