# How to increase the number of threads at Logstash output pipeline

**URL:** <https://discuss.elastic.co/t/how-to-increase-the-number-of-threads-at-logstash-output-pipeline/221391>\
**Category:** Logstash\
**Created:** [February 28, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-increase-the-number-of-threads-at-logstash-output-pipeline/221391 "2020-02-28T08:53:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suvarna](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@suvarna](https://discuss.elastic.co/u/suvarna)\
**Post date:** [February 28, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-increase-the-number-of-threads-at-logstash-output-pipeline/221391/1 "2020-02-28T08:53:48Z")

</div>

Hi  
The pipeline.workers setting determines how many threads to run for filter and output processing.  
If you we want to set number of threads at input side or output side, what configuration we have to add in yml.

---

<div class="post-metadata">

**Author:** ![ahmed\_charafouddine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmed_charafouddine/32/45129_2.png) [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Post date:** [February 28, 2020, 9:00am UTC](https://discuss.elastic.co/t/how-to-increase-the-number-of-threads-at-logstash-output-pipeline/221391/2 "2020-02-28T09:00:15Z")

</div>

```
pipeline.workers: no more than VM core number
```

---

<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:** [March 27, 2020, 9:00am UTC](https://discuss.elastic.co/t/how-to-increase-the-number-of-threads-at-logstash-output-pipeline/221391/3 "2020-03-27T09:00:20Z")

</div>

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