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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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