# LOGSTASH to connect two UNIX server in a secure network

**URL:** <https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209>\
**Category:** Logstash\
**Created:** [August 24, 2017, 10:28am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209 "2017-08-24T10:28:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kosigamaani\_thirumoo](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@kosigamaani\_thirumoo](https://discuss.elastic.co/u/kosigamaani_thirumoo)\
**Post date:** [August 24, 2017, 10:28am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/1 "2017-08-24T10:28:10Z")

</div>

Hi,  
I've two UNIX Servers A and B. I've installed installed Logstash in Server A and i would like to read logs present in Server B. Kindly suggest suitable input plugin.

Note: Server B doesn't contain Logstash

Thanks

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 24, 2017, 1:47pm UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/2 "2017-08-24T13:47:01Z")

</div>

You should be using the [beats](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html) input plugin in Logstash on Server A, with [filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ssl-logstash.html) on Server B, securing both with SSL.

---

<div class="post-metadata">

**Author:** ![kosigamaani\_thirumoo](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@kosigamaani\_thirumoo](https://discuss.elastic.co/u/kosigamaani_thirumoo)\
**Post date:** [August 31, 2017, 5:26am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/3 "2017-08-31T05:26:03Z")

</div>

Well, there is a small problem. I can't install anything(Logstash or Filebeat) in Server B (Due to certain reasons). Is there a way to use LOGSTASH on Server A to connect Server B via network and pull logs? If there is a way then could you please let me know the input plugin i should use.

I checked this post [Fetching logs form remote host?](https://discuss.elastic.co/t/fetching-logs-form-remote-host/2295)

Particularly i don't want to install anything on Server B.

Thanks.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 31, 2017, 11:58am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/4 "2017-08-31T11:58:31Z")

</div>

You will have a hard time with any solution that doesn't allow you to install on server B. Perhaps one of the best non-installs is to do ssh or scp to pull logs from B. Without that, there's not much you can do.

---

<div class="post-metadata">

**Author:** ![kosigamaani\_thirumoo](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@kosigamaani\_thirumoo](https://discuss.elastic.co/u/kosigamaani_thirumoo)\
**Post date:** [September 1, 2017, 4:05am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/5 "2017-09-01T04:05:51Z")

</div>

Thank you so much. I guess i've run out of options. 😉

---

<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 29, 2017, 4:05am UTC](https://discuss.elastic.co/t/logstash-to-connect-two-unix-server-in-a-secure-network/98209/6 "2017-09-29T04:05:58Z")

</div>

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