# How can I get the query execution timeline?

**URL:** <https://discuss.elastic.co/t/how-can-i-get-the-query-execution-timeline/355673>\
**Category:** Elasticsearch\
**Created:** [March 19, 2024, 3:57am UTC](https://discuss.elastic.co/t/how-can-i-get-the-query-execution-timeline/355673 "2024-03-19T03:57:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfireworks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sfireworks/32/132768_2.png) [@sfireworks](https://discuss.elastic.co/u/sfireworks)\
**Post date:** [March 19, 2024, 3:57am UTC](https://discuss.elastic.co/t/how-can-i-get-the-query-execution-timeline/355673/1 "2024-03-19T03:57:22Z")

</div>

we want to analysis the execution process of a query to see the time consumption on each shards, whether there is a longtai shards or not, and time consumption to fetch result from files on disks.  
The time we get from the profile API does not present the fetch result time and the execution time on each shards is not accurate.  
So i was wondering is there a way to get the query exection process timeline? so we can further analysis which part of the query tooks the most time.

---

<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:** [March 24, 2024, 8:12am UTC](https://discuss.elastic.co/t/how-can-i-get-the-query-execution-timeline/355673/2 "2024-03-24T08:12:11Z")

</div>

As far as I know this is not possible.

---

<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 21, 2024, 8:13am UTC](https://discuss.elastic.co/t/how-can-i-get-the-query-execution-timeline/355673/3 "2024-04-21T08:13:06Z")

</div>

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