Getting Data In

Can Splunk behave like a batch job or Windows service which will check for a file at ftp location every hour and index that file?

birarich
Explorer

Can Splunk behave like a batch job or like windows service which will check for file at ftp location every hour and index that file?

Tags (3)
0 Karma

acharlieh
Influencer

You could setup a Scripted Input to run a script every hour, perform whatever FTP you need, and index the results.

Scripted inputs are kicked off by Splunk on an interval, configured in inputs.conf. Now it'd be up to you to either write or find an appropriate script to kick off on the regular basis to get you want in this case.

Alternatively if you have access to the OS running the FTP server, you could put a Splunk forwarder on the FTP server and monitor the file that with built in monitor inputs.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...