# Collect logs from a remote servers without installing Filebeat on all the remote servers

**URL:** https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490
**Category:** Logstash
**Created:** [August 19, 2016, 9:51pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490 "2016-08-19T21:51:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![shravan521](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shravan521](https://discuss.elastic.co/u/shravan521)
#### Post date: [August 19, 2016, 9:51pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490/1 "2016-08-19T21:51:07Z")

</div>

We are currently using Logstash and Filebeat to collect logs from multiple servers on same network, where Filebeat is installed on each server to ship the logs.  
Now we have a different requirement to collect logs from a remote server which doesn't allow us to push any thing to local server. But we can instantiate a request from local server and the remote server can reply. So please suggest me with right approach.

---

<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: [August 19, 2016, 10:41pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490/2 "2016-08-19T22:41:19Z")

</div>

There is nothing that beats or LS can do here.

Maybe you can ssh mount the log directory on a node that runs beats/LS.

---

<div class="post-metadata">

### Author: ![shravan521](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shravan521](https://discuss.elastic.co/u/shravan521)
#### Post date: [August 23, 2016, 1:28pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490/3 "2016-08-23T13:28:09Z")

</div>

Thank you for the quick reply.  
I was wondering if it is possible use logstash input plugin "tcp" to connect to the remote server using mode "client" and host and port fields specified.  
If I connect to the client this way do we still have to use Filebeat, or Logstash itself can read the logs from remote client?

---

<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: [August 23, 2016, 8:26pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490/4 "2016-08-23T20:26:36Z")

</div>

> [@shravan521](#):
>
> I was wondering if it is possible use logstash input plugin "tcp" to connect to the remote server using mode "client" and host and port fields specified.

No, that is a passive listening port only.

---

<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 9, 2016, 9:51pm UTC](https://discuss.elastic.co/t/collect-logs-from-a-remote-servers-without-installing-filebeat-on-all-the-remote-servers/58490/5 "2016-09-09T21:51:43Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
