# Increase filebeat worker threads?

**URL:** <https://discuss.elastic.co/t/increase-filebeat-worker-threads/42798>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 26, 2016, 12:59am UTC](https://discuss.elastic.co/t/increase-filebeat-worker-threads/42798 "2016-02-26T00:59:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinu2903](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@Vinu2903](https://discuss.elastic.co/u/Vinu2903)\
**Post date:** [February 26, 2016, 12:59am UTC](https://discuss.elastic.co/t/increase-filebeat-worker-threads/42798/1 "2016-02-26T00:59:06Z")

</div>

Is there a way to increase Filebeat's worker threads and have it read multiple log files at the same time?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 26, 2016, 7:49am UTC](https://discuss.elastic.co/t/increase-filebeat-worker-threads/42798/2 "2016-02-26T07:49:57Z")

</div>

Written in golang the runtime system supporting N:M threading there are hardly worker-threads per-se. The runtime generates as many OS-threads as logical CPUs are available. filebeat itself generates one worker per file. All files are processed concurrently and in parallel if enough OS-threads have been generated.

---

<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 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/increase-filebeat-worker-threads/42798/3 "2017-07-05T21:55:22Z")

</div>


