# Filebeat default value for logstash load balance discrepancy

**URL:** <https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 21, 2017, 7:11pm UTC](https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384 "2017-09-21T19:11:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sila5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sila5/32/22700_2.png) [@sila5](https://discuss.elastic.co/u/sila5)\
**Post date:** [September 21, 2017, 7:11pm UTC](https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384/1 "2017-09-21T19:11:40Z")

</div>

I noticed that on GitHub in the reference yml file for filebeat, under the logstash module, load balancing shows as true. I assumed this was the default but found out later when restarting one of my logstash instance's that wasn't the case.

Afterwards I found the master documentation states the default value is false.  
To avoid confusion can the value for load balancing be changed to false in the yml reference file on github?

> <https://github.com/elastic/beats/blob/master/filebeat/filebeat.reference.yml>

[https://www.elastic.co/guide/en/beats/filebeat/master/logstash-output.html](https://www.elastic.co/guide/en/beats/filebeat/master/logstash-output.html)

727 # Optional load balance the events between the Logstash hosts  
728 #loadbalance: true

---

<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:** [September 21, 2017, 10:11pm UTC](https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384/2 "2017-09-21T22:11:09Z")

</div>

It's actually false because the `enabled: true` is commented out.

But you raise a valid point, perhaps we can comment in the config file what the default is. Do you mind raising a request on github?

---

<div class="post-metadata">

**Author:** ![sila5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sila5/32/22700_2.png) [@sila5](https://discuss.elastic.co/u/sila5)\
**Post date:** [September 22, 2017, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384/3 "2017-09-22T16:00:27Z")

</div>

Thank You for the input Mark! I've submitted a pull request on GitHub. If you get a chance to look at it, let me know if I'm following standard guidelines.

> <https://github.com/elastic/beats/pull/5228>

---

<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 20, 2017, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-default-value-for-logstash-load-balance-discrepancy/101384/4 "2017-10-20T16:00:33Z")

</div>

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