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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...