# Logstash collecting logs from multiple servers

**URL:** <https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682>\
**Category:** Logstash\
**Created:** [August 9, 2018, 11:57am UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682 "2018-08-09T11:57:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyaranjan\_Mudliar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyaranjan_mudliar/32/33726_2.png) [@Priyaranjan\_Mudliar](https://discuss.elastic.co/u/Priyaranjan_Mudliar)\
**Post date:** [August 9, 2018, 11:57am UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682/1 "2018-08-09T11:57:21Z")

</div>

Is there a way so that i can use logstash to input from multiple servers without me having to install filebeat on multiple servers? Please Help ... Any leads would be appreciated. 🙂

PS:- I am working in cloud services team and my task is to collect logs and parse the logs from multiple customers' application servers.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 9, 2018, 12:08pm UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682/2 "2018-08-09T12:08:30Z")

</div>

If installing an agent on each server isn't an option and no existing agent (like syslog) can be made to ship the log files the only other option I can think of would be to share the log files via e.g. NFS.

---

<div class="post-metadata">

**Author:** ![Priyaranjan\_Mudliar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyaranjan_mudliar/32/33726_2.png) [@Priyaranjan\_Mudliar](https://discuss.elastic.co/u/Priyaranjan_Mudliar)\
**Post date:** [August 9, 2018, 12:16pm UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682/3 "2018-08-09T12:16:34Z")

</div>

@magnusbaeck can u elaborate on how to configure my logstash config file to input using (NFS or syslog).  
Any link or source(e.g. documentation) that i can follow ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 9, 2018, 1:09pm UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682/4 "2018-08-09T13:09:18Z")

</div>

If the servers export their logs files via NFS Logstash will be able to read them with a normal file input. A syslog example can e.g. be found here: [https://www.elastic.co/guide/en/logstash/current/config-examples.html](https://www.elastic.co/guide/en/logstash/current/config-examples.html)

---

<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:** [September 6, 2018, 1:09pm UTC](https://discuss.elastic.co/t/logstash-collecting-logs-from-multiple-servers/143682/5 "2018-09-06T13:09:19Z")

</div>

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