The requested URL was not found on this server. 不管你信不信,反正我是没找到

elasticsearch查询时,如何知道查询的具体哪些分片?

Elasticsearch | 作者 steven123 | 发布于2017年01月12日 | 阅读数:4954

elasticsearch查询时,如何知道查询的具体哪些分片?
如题,因为我们在查询时,发现集群中只有1台机器的cpu占用过高,其它机器运行都十分正常,想通过查询时寻找分片的具体位置去定位。
有高人指点一下吗?
已邀请:

leighton_buaa

赞同来自: steven123

ES 5.0 提供了profile api,可以给出查询的执行情况
https://www.elastic.co/guide/e ... .html
 

steven123

赞同来自:

收到,非常感谢。可以看出来具体的查询情况了,哈哈

要回复问题请先登录注册