# Can the Logstash csv plug-in write to a remote server via sFTP?

**URL:** <https://discuss.elastic.co/t/can-the-logstash-csv-plug-in-write-to-a-remote-server-via-sftp/260815>\
**Category:** Logstash\
**Created:** [January 12, 2021, 10:28am UTC](https://discuss.elastic.co/t/can-the-logstash-csv-plug-in-write-to-a-remote-server-via-sftp/260815 "2021-01-12T10:28:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Wong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_wong/32/77245_2.png) [@Manuel\_Wong](https://discuss.elastic.co/u/Manuel_Wong)\
**Post date:** [January 12, 2021, 10:28am UTC](https://discuss.elastic.co/t/can-the-logstash-csv-plug-in-write-to-a-remote-server-via-sftp/260815/1 "2021-01-12T10:28:42Z")

</div>

Hello, wish you all an excellent new year!

I'd like to ask if the Logstash csv plug-in can write to a remove server via sFTP. I plan to setup the logstash in a container within a K8s cluster but the location where the csv needs to be written is in a remote server (accessible via sFTP).  
The flow of the data is like the following

```auto
graph LR
	id1[("ES/Kibana")]
	id2["Watcher"]
	id3["Logstash"]
	id4[("Server")]
	id1 --> id2 --> |Webhook| id3 ---> |.csv<br/>output<br/>via sFTP| id4

```

```

 ![Screenshot 2021-01-12 at 10.29.39](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3d6a4225183409835e86e060e64391ede401506e.png)``

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 12, 2021, 11:48pm UTC](https://discuss.elastic.co/t/can-the-logstash-csv-plug-in-write-to-a-remote-server-via-sftp/260815/2 "2021-01-12T23:48:17Z")

</div>

There doesn't appear to be any (s)FTP output plugins for Logstash, so I don't think this is possible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 9, 2021, 11:48pm UTC](https://discuss.elastic.co/t/can-the-logstash-csv-plug-in-write-to-a-remote-server-via-sftp/260815/3 "2021-02-09T23:48:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
