# Configure logstash 1.4.2 for raspberry pi to get file from remote machine

**URL:** <https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397>\
**Category:** Logstash\
**Created:** [June 25, 2019, 5:16pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397 "2019-06-25T17:16:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmahule](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@gmahule](https://discuss.elastic.co/u/gmahule)\
**Post date:** [June 25, 2019, 5:16pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/1 "2019-06-25T17:16:44Z")

</div>

Hello,

I am trying to configure logstash 1.4.2 in my raspberry pi to get file which is located in remote windows machine and in my logstash.conf I have changed the input path to the remote machine location and also shared the log file which is available in machine. So, does anyone know how can I get all those logs file from remote machine to my raspberry pi.

Thanks.

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [June 25, 2019, 6:19pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/2 "2019-06-25T18:19:12Z")

</div>

Install filebeat on your windows machine to ship the logs to logstash.

---

<div class="post-metadata">

**Author:** ![gmahule](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@gmahule](https://discuss.elastic.co/u/gmahule)\
**Post date:** [June 25, 2019, 6:26pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/3 "2019-06-25T18:26:25Z")

</div>

Hello @AquaX I don't want to install the filebeat on windows is there any other way to do that I just want to change the configuration file.

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [June 25, 2019, 6:28pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/4 "2019-06-25T18:28:12Z")

</div>

Share the folder on windows and then install the samba client on your raspberry pi and mount the folder as a directory. Then you can set logstash to monitor the mount.  
Try that.

---

<div class="post-metadata">

**Author:** ![gmahule](https://avatars.discourse-cdn.com/v4/letter/g/ce73a5/32.png) [@gmahule](https://discuss.elastic.co/u/gmahule)\
**Post date:** [June 25, 2019, 6:31pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/5 "2019-06-25T18:31:09Z")

</div>

Yes I did that with mount but when I am running the mount script then raspberry pi crashes. That's why I am not going with that approach

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [June 25, 2019, 6:36pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/6 "2019-06-25T18:36:15Z")

</div>

Sounds like you have a problem with your rapsberry pi installation then. You should fix that.

---

<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:** [July 23, 2019, 6:36pm UTC](https://discuss.elastic.co/t/configure-logstash-1-4-2-for-raspberry-pi-to-get-file-from-remote-machine/187397/7 "2019-07-23T18:36:28Z")

</div>

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