# How to read a remote text file using logstash

**URL:** <https://discuss.elastic.co/t/how-to-read-a-remote-text-file-using-logstash/198773>\
**Category:** Logstash\
**Created:** [September 9, 2019, 7:20pm UTC](https://discuss.elastic.co/t/how-to-read-a-remote-text-file-using-logstash/198773 "2019-09-09T19:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [September 9, 2019, 7:20pm UTC](https://discuss.elastic.co/t/how-to-read-a-remote-text-file-using-logstash/198773/1 "2019-09-09T19:20:33Z")

</div>

hi, i want to know how to read a remote text file using logstash, i suppose that i have a text file in windows machine and my ELK in ubuntu  
thank you

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 9, 2019, 7:51pm UTC](https://discuss.elastic.co/t/how-to-read-a-remote-text-file-using-logstash/198773/2 "2019-09-09T19:51:49Z")

</div>

Logstash does not support reading file remotely. Instead install Filebeat on the Windows machine and let this forward the file to Logstash.

---

<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:** [October 7, 2019, 7:51pm UTC](https://discuss.elastic.co/t/how-to-read-a-remote-text-file-using-logstash/198773/3 "2019-10-07T19:51:54Z")

</div>

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