# Retrieve Kibana Query Time Statistics

**URL:** <https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559>\
**Category:** Kibana\
**Created:** [July 17, 2023, 1:07pm UTC](https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559 "2023-07-17T13:07:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lchan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lchan/32/90857_2.png) [@lchan](https://discuss.elastic.co/u/lchan)\
**Post date:** [July 17, 2023, 1:07pm UTC](https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559/1 "2023-07-17T13:07:40Z")

</div>

Hello,

Does anyone know if there is way to access Query time under Statistics in Kibana? We want to monitor these statistics so we can better understanding the following:

- Long running query on user behavior (Query time)
- Total time it tools for each user (Request time?)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/6/166ae99b6fc84e968706aff0802e1989f97036db.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [July 18, 2023, 2:25pm UTC](https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559/2 "2023-07-18T14:25:58Z")

</div>

That value is not exposed to queries in Kibana. The tool we recommend for testing queries you suspect are taking too long is the Search Profiler which can be found in the Dev Tools tab in Kibana.

---

<div class="post-metadata">

**Author:** ![lchan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lchan/32/90857_2.png) [@lchan](https://discuss.elastic.co/u/lchan)\
**Post date:** [July 21, 2023, 2:06pm UTC](https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559/3 "2023-07-21T14:06:04Z")

</div>

Hi @Marius_Dragomir,

Thanks for pointing out on the Search Profiler. Looks like there an API for search profile. Is this something you would recommend to measure search query?

> **[Profile API | Elasticsearch Guide \[8.8\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-profile.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:** [August 18, 2023, 2:06pm UTC](https://discuss.elastic.co/t/retrieve-kibana-query-time-statistics/338559/4 "2023-08-18T14:06:29Z")

</div>

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