# Default value for number of workers missing in Logstash output documentation

**URL:** <https://discuss.elastic.co/t/default-value-for-number-of-workers-missing-in-logstash-output-documentation/357608>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [April 17, 2024, 11:43am UTC](https://discuss.elastic.co/t/default-value-for-number-of-workers-missing-in-logstash-output-documentation/357608 "2024-04-17T11:43:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunste](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bunste/32/95865_2.png) [@bunste](https://discuss.elastic.co/u/bunste)\
**Post date:** [April 17, 2024, 11:43am UTC](https://discuss.elastic.co/t/default-value-for-number-of-workers-missing-in-logstash-output-documentation/357608/1 "2024-04-17T11:43:09Z")

</div>

Do I understand correctly that the number of workers for a Logstash output is 1 by default?

Let's take `Filebeat` as an example:

The default value is documented for the Elasticsearch output:

> **[Configure the Elasticsearch output | Filebeat Reference \[8.13\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/8.13/elasticsearch-output.html#worker-option)**

> The default value is `1` .

But it's not mentioned for the Logstash output:

> **[Configure the Logstash output | Filebeat Reference \[8.13\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/8.13/logstash-output.html#_worker_or_workers)**

> The number of workers per configured host publishing events to Logstash. This is best used with load balancing mode enabled. Example: If you have 2 hosts and 3 workers, in total 6 workers are started (3 for each host).

In my opinion, the documentation should be updated on this point so that users do not have to spend time researching this in the code.

This observation also applies to other beats - I have checked at least `Metricbeat` & `Winlogbeat` (it may also apply to all of them).
