# Read logs from another server and ship to logstash using filebeat

**URL:** <https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 16, 2017, 11:48am UTC](https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327 "2017-02-16T11:48:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paya](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@paya](https://discuss.elastic.co/u/paya)\
**Post date:** [February 16, 2017, 11:48am UTC](https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327/1 "2017-02-16T11:48:25Z")

</div>

Hi all,  
I am setting up a an independent machine to run all ELK services together, but I have to read the log files from other servers, in specific they are all **haproxy**.

so my question is:  
is it possible to setup and run filebeat with various Prospectors that read log file from 3 or more different servers with different IP address? or I have to install and run filebeat on each of these machines and send the log to my ELK machine?

actually I searched for it but i didn't find a document or something that can help me on it.

thanks and regards.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 16, 2017, 3:47pm UTC](https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327/2 "2017-02-16T15:47:41Z")

</div>

You would deploy Filebeat on each of the servers producing haproxy logs. Filebeat is intended for reading files from local disks.

---

<div class="post-metadata">

**Author:** ![paya](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@paya](https://discuss.elastic.co/u/paya)\
**Post date:** [March 8, 2017, 4:05pm UTC](https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327/3 "2017-03-08T16:05:58Z")

</div>

Thanks, actually I am doing this, and the whole system works without problems.

---

<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:** [April 5, 2017, 4:06pm UTC](https://discuss.elastic.co/t/read-logs-from-another-server-and-ship-to-logstash-using-filebeat/75327/4 "2017-04-05T16:06:10Z")

</div>

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