# Elasticsearch and logstash performance drop

**URL:** <https://discuss.elastic.co/t/elasticsearch-and-logstash-performance-drop/170918>\
**Category:** Elasticsearch\
**Created:** [March 5, 2019, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-and-logstash-performance-drop/170918 "2019-03-05T13:49:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedwe](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@fedwe](https://discuss.elastic.co/u/fedwe)\
**Post date:** [March 5, 2019, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-and-logstash-performance-drop/170918/1 "2019-03-05T13:49:21Z")

</div>

Hello all  
im using logstash to index to elasticsearch. I am using batch size 2000 and 16 workers because i have 4 cpus and 4 cores each. I have a problem with performance in logstash .Its not utilizing the full cpu capacity and it drops in performance a lot and it reaches 0 events/s on large files meaning after runnung for some time. Here is how the performance on a 260mb file

 ![logstashper](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8faced97962cbe46df285da67a70722a7dc96059.png)

if you can help me make it stable on a high event receive and emmitt  
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:** [April 2, 2019, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-and-logstash-performance-drop/170918/2 "2019-04-02T13:49:25Z")

</div>

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