# Top 5 cpu consuming queries

**URL:** <https://discuss.elastic.co/t/top-5-cpu-consuming-queries/206272>\
**Category:** Elasticsearch\
**Created:** [November 3, 2019, 7:42am UTC](https://discuss.elastic.co/t/top-5-cpu-consuming-queries/206272 "2019-11-03T07:42:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hurryup](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hurryup](https://discuss.elastic.co/u/hurryup)\
**Post date:** [November 3, 2019, 7:42am UTC](https://discuss.elastic.co/t/top-5-cpu-consuming-queries/206272/1 "2019-11-03T07:42:08Z")

</div>

Hello.  
Is it possible to somehow collect such information - top cpu consuming queries ?

I can see that my cluster is heavily loaded but I can't find by which queries.

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [November 12, 2019, 3:36pm UTC](https://discuss.elastic.co/t/top-5-cpu-consuming-queries/206272/2 "2019-11-12T15:36:35Z")

</div>

You can enable the [slow log](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html)

---

<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:** [December 10, 2019, 3:36pm UTC](https://discuss.elastic.co/t/top-5-cpu-consuming-queries/206272/3 "2019-12-10T15:36:41Z")

</div>

Closed on December 10, 2019, 3:36pm UTC

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