# Pipeline Workers and CPU count?

**URL:** <https://discuss.elastic.co/t/pipeline-workers-and-cpu-count/230893>\
**Category:** Logstash\
**Created:** [May 3, 2020, 6:47pm UTC](https://discuss.elastic.co/t/pipeline-workers-and-cpu-count/230893 "2020-05-03T18:47:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtyNewman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atynewman/32/63720_2.png) [@AtyNewman](https://discuss.elastic.co/u/AtyNewman)\
**Post date:** [May 3, 2020, 6:47pm UTC](https://discuss.elastic.co/t/pipeline-workers-and-cpu-count/230893/1 "2020-05-03T18:47:37Z")

</div>

I have a Logstash instance sending data into an Elasticsearch cluster what take place on the same machine.

2 Elasticsearch and 1 Logstash.

Should i separate CPU Cores between them like this?  
in case of 10 CPU:  
logstash.yml: pipeline.workers: 5  
elasticsearch.yml: node.processor: 5 (or just 2 or 3, because i have 2 Elasticsearch)

In this case is there a bare minimum requirement for CPU and RAM for 1-2.000 event per second, where the lines are 1-2 kb each?

Thank you!

---

<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:** [May 31, 2020, 6:47pm UTC](https://discuss.elastic.co/t/pipeline-workers-and-cpu-count/230893/2 "2020-05-31T18:47:42Z")

</div>

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