# Time spent on "Query Phase", "Fetch Phase" etc for each and every search request

**URL:** https://discuss.elastic.co/t/time-spent-on-query-phase-fetch-phase-etc-for-each-and-every-search-request/174693
**Category:** Elasticsearch
**Created:** [March 31, 2019, 10:38pm UTC](https://discuss.elastic.co/t/time-spent-on-query-phase-fetch-phase-etc-for-each-and-every-search-request/174693 "2019-03-31T22:38:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![manoj\_faria](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@manoj\_faria](https://discuss.elastic.co/u/manoj_faria)
#### Post date: [March 31, 2019, 10:38pm UTC](https://discuss.elastic.co/t/time-spent-on-query-phase-fetch-phase-etc-for-each-and-every-search-request/174693/1 "2019-03-31T22:38:26Z")

</div>

I do understand that each search request served by elasticsearch has a "query phase" and a "fetch phase".

Is there a way in elasticsearch to log and report the following details for each and every query (not just the slow queries):

1. time spent on query phase
2. time spent on fetch phase
3. end-to-end time for serving the search request

Thanks!

---

<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 28, 2019, 10:38pm UTC](https://discuss.elastic.co/t/time-spent-on-query-phase-fetch-phase-etc-for-each-and-every-search-request/174693/2 "2019-04-28T22:38:39Z")

</div>

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