Deployment Architecture

Splunk forwarder read file content using sftp protocol

massit
Explorer

Hi all,
is it possible to configure Splunk forwarder to read a log file using sftp protocol?
I have a log file on a remote server and the only way to access to this file is sftp connection.
If does make sense.

Regards

0 Karma

simon_branton_h
New Member

You could also use SSHFS, which would allow you to mount the remote share and then have the forwarder monitor those files.

https://github.com/libfuse/sshfs

0 Karma

starcher
Influencer

The UF itself does not have that capability. You should pull the file back where it can be picked up, do something on the remote end to send to http event collector or some other means of transferring the data.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...