# How to tune elasticsearch performance

**URL:** <https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472>\
**Category:** Elasticsearch\
**Created:** [November 6, 2017, 6:32am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472 "2017-11-06T06:32:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 6:32am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/1 "2017-11-06T06:32:41Z")

</div>

I am using ES to ingest flow data from other application, but I found that the ES speed isn't high enough, so sometimes it would drop flow.  
How can I change the setting of ES performance ?  
I have seen the elasticsearch.yml, jvm.options and log4j2.properties, but there seems no setting about ES performance.

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 6:34am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/2 "2017-11-06T06:34:45Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef99b25323dc7a734a693c029ef3d0785b0fad79.png)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 6, 2017, 7:05am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/3 "2017-11-06T07:05:35Z")

</div>

What does your collection pipeline look like? What does your Elasticsearch cluster look like, e.g. Elasticsearch version, number of nodes, number of CPU cores, type of storage and heap size?

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 7:10am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/4 "2017-11-06T07:10:23Z")

</div>

ES version: 5.6.2  
CPU:2 cores  
RAM:8G

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c069966506ae92e6c8208e24c0cd893e090be876.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/8/3818991f5c25347ad8094c5b491466fe1af22790.png)  
thanks for your reply!

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 7:12am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/5 "2017-11-06T07:12:06Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b78b6019645b6550978818ebdf123e775ee6d56e.png)

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 7:13am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/6 "2017-11-06T07:13:38Z")

</div>

this is the command from the input application:  
ntopng /c -F "es;ntopng;ntopng-%Y.%m.%d;[http://192.168.0.159:9200/\_bulk;](http://192.168.0.159:9200/_bulk;)"

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 6, 2017, 7:15am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/7 "2017-11-06T07:15:35Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> What does your collection pipeline look like?

What does your collection pipeline look like? How have you determined that it is Elasticsearch, and not your collection pipeline, that is the bottleneck? How large are your documents?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 6, 2017, 7:21am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/8 "2017-11-06T07:21:57Z")

</div>

I think it's the same thread as you already opened at

> [@Tuning the ES performance](https://discuss.elastic.co/t/tuning-the-es-performance/105832):
>
> I am using ES to ingest flow data from other application, but I found that the speed isn't high enough, so sometimes it would drop flow. How can I change the setting of ES performance ? I have seen the elasticsearch.yml, jvm.options and log4j2.properties, but there seems no setting about ES performance. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 6, 2017, 7:25am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/9 "2017-11-06T07:25:52Z")

</div>

As it seems you already have another thread open, I suggest we continue the discussion there. Please do not open multiple threads for the same issue.

---

<div class="post-metadata">

**Author:** ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Post date:** [November 6, 2017, 7:33am UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/10 "2017-11-06T07:33:07Z")

</div>

sorry for that

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 6, 2017, 8:49pm UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/11 "2017-11-06T20:49:52Z")

</div>

Please see [Tuning the ES performance](https://discuss.elastic.co/t/tuning-the-es-performance/105832/25)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 6, 2017, 8:49pm UTC](https://discuss.elastic.co/t/how-to-tune-elasticsearch-performance/106472/12 "2017-11-06T20:49:55Z")

</div>


