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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...