# Load balancing : Filebeat

**URL:** <https://discuss.elastic.co/t/load-balancing-filebeat/138670>\
**Category:** Beats\
**Created:** [July 5, 2018, 8:41am UTC](https://discuss.elastic.co/t/load-balancing-filebeat/138670 "2018-07-05T08:41:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asalma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asalma/32/32199_2.png) [@asalma](https://discuss.elastic.co/u/asalma)\
**Post date:** [July 5, 2018, 8:41am UTC](https://discuss.elastic.co/t/load-balancing-filebeat/138670/1 "2018-07-05T08:41:59Z")

</div>

Hi,

Could you tell me if it is correcte :

```auto
#----------------------------- Logstash output --------------------------------
output.logstash:
  # The Logstash hosts
  # Send log to frghcslnetv10
  hosts: ["172.16.250.29:5044", "172.16.250.30:5044"]
  loadbalance: true

  # Optional SSL. By default is off.
  # List of root certificates for HTTPS server verifications
  #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]

  # Certificate for SSL client authentication
  #ssl.certificate: "/etc/pki/client/cert.pem"

  # Client Certificate Key
  #ssl.key: "/etc/pki/client/cert.key"

```

Because I'm receiving nothing in both hosts and when I keep just one host I reveive logs !!

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [July 6, 2018, 8:56am UTC](https://discuss.elastic.co/t/load-balancing-filebeat/138670/2 "2018-07-06T08:56:44Z")

</div>

Hi,

That's weird. Can you run filebeat in debug mode and share the full logs, when using both hosts?

---

<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:** [August 3, 2018, 10:56am UTC](https://discuss.elastic.co/t/load-balancing-filebeat/138670/3 "2018-08-03T10:56:45Z")

</div>

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