# Filebeats protocol load balancing to a single IP

**URL:** <https://discuss.elastic.co/t/filebeats-protocol-load-balancing-to-a-single-ip/102017>\
**Category:** Beats\
**Created:** [September 27, 2017, 6:14pm UTC](https://discuss.elastic.co/t/filebeats-protocol-load-balancing-to-a-single-ip/102017 "2017-09-27T18:14:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xrl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xrl/32/3556_2.png) [@xrl](https://discuss.elastic.co/u/xrl)\
**Post date:** [September 27, 2017, 6:14pm UTC](https://discuss.elastic.co/t/filebeats-protocol-load-balancing-to-a-single-ip/102017/1 "2017-09-27T18:14:01Z")

</div>

I want to set up a pool of logstash processes for handling incoming data from many filebeats. I want to deploy them behind an AWS elastic load balancer (ELB) and I was wondering if there are any gotcha's. Will filebeats open multiple connections to the same IP? That way multiple flows can be established and load balanced by ELB?

---

<div class="post-metadata">

**Author:** ![rswestmoreland](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rswestmoreland/32/17476_2.png) [@rswestmoreland](https://discuss.elastic.co/u/rswestmoreland)\
**Post date:** [September 27, 2017, 10:22pm UTC](https://discuss.elastic.co/t/filebeats-protocol-load-balancing-to-a-single-ip/102017/2 "2017-09-27T22:22:57Z")

</div>

I've successfully load balanced to the same host by specifying it with different ports. I don't see why it wouldn't work with the same port as each socket is independent of the other.

---

<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:** [October 18, 2017, 6:14pm UTC](https://discuss.elastic.co/t/filebeats-protocol-load-balancing-to-a-single-ip/102017/3 "2017-10-18T18:14:16Z")

</div>

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