# How can I get response time for each index or shard

**URL:** <https://discuss.elastic.co/t/how-can-i-get-response-time-for-each-index-or-shard/124345>\
**Category:** Elasticsearch\
**Created:** [March 16, 2018, 6:01pm UTC](https://discuss.elastic.co/t/how-can-i-get-response-time-for-each-index-or-shard/124345 "2018-03-16T18:01:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yiliang](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@yiliang](https://discuss.elastic.co/u/yiliang)\
**Post date:** [March 16, 2018, 6:01pm UTC](https://discuss.elastic.co/t/how-can-i-get-response-time-for-each-index-or-shard/124345/1 "2018-03-16T18:01:31Z")

</div>

Dear ES community members:  
I am now trying to monitor some query performance on ES. After I run the query I can only get the total time took for this response. Is there a way or api, i can use to get the response time for the each index or shard, instead of the total time for all index.  
It likes when you run a query on Kibana search profiler, and you can get some stat for each indexes.

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 13, 2018, 6:01pm UTC](https://discuss.elastic.co/t/how-can-i-get-response-time-for-each-index-or-shard/124345/2 "2018-04-13T18:01:35Z")

</div>

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