# How do i retrieve top 10 most searched query from ES?

**URL:** <https://discuss.elastic.co/t/how-do-i-retrieve-top-10-most-searched-query-from-es/32181>\
**Category:** Elasticsearch\
**Created:** [October 14, 2015, 1:43pm UTC](https://discuss.elastic.co/t/how-do-i-retrieve-top-10-most-searched-query-from-es/32181 "2015-10-14T13:43:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![N\_M\_10](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@N\_M\_10](https://discuss.elastic.co/u/N_M_10)\
**Post date:** [October 14, 2015, 1:43pm UTC](https://discuss.elastic.co/t/how-do-i-retrieve-top-10-most-searched-query-from-es/32181/1 "2015-10-14T13:43:16Z")

</div>

If kibana can give me top 10 most searched "ITEMS" on my website, can I make a call to ES and get top 5-10 most popular "ITEM" ?

If yes then please direct me to appropriate docs or blog regarding how to do it?

---

<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:** [October 14, 2015, 9:57pm UTC](https://discuss.elastic.co/t/how-do-i-retrieve-top-10-most-searched-query-from-es/32181/2 "2015-10-14T21:57:40Z")

</div>

It can but you need to be able to define what metric you are measuring popularity by.

---

<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:** [July 5, 2017, 11:44pm UTC](https://discuss.elastic.co/t/how-do-i-retrieve-top-10-most-searched-query-from-es/32181/3 "2017-07-05T23:44:46Z")

</div>


