# How can two Logstash istances communicate to each other?

**URL:** <https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306>\
**Category:** Logstash\
**Created:** [November 23, 2015, 1:38pm UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306 "2015-11-23T13:38:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampasei](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sampasei](https://discuss.elastic.co/u/sampasei)\
**Post date:** [November 23, 2015, 1:38pm UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306/1 "2015-11-23T13:38:22Z")

</div>

Hi,  
i have two logstash istances (not forwarder, not filebet) on two different servers: which input/output plugins should i use to permit the data transfer to each other?  
Thanks

---

<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:** [November 23, 2015, 1:53pm UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306/2 "2015-11-23T13:53:41Z")

</div>

I suggest you use the Lumberjack protocol, i.e. a lumberjack output/input pair.

---

<div class="post-metadata">

**Author:** ![sampasei](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sampasei](https://discuss.elastic.co/u/sampasei)\
**Post date:** [November 23, 2015, 5:03pm UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306/3 "2015-11-23T17:03:40Z")

</div>

Hi magnusbaeck,  
thanks for your reply. I have a problem: my logstash istance is behind a proxy, so i'm not able to send data

---

<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:** [November 24, 2015, 6:47am UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306/4 "2015-11-24T06:47:07Z")

</div>

Well, that was obviously a relevant piece of information. Does the proxy only allow HTTP traffic, or what kind of proxy is it? I don't think there are too many Logstash plugins that support proxies but it might be possible to set up a transparent one.

---

<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 6, 2017, 5:21am UTC](https://discuss.elastic.co/t/how-can-two-logstash-istances-communicate-to-each-other/35306/5 "2017-07-06T05:21:37Z")

</div>


