Most popular indices/shards


#1

Hello Everyone,

I have a busy elasticsearch cluster running 5.3.0. CPU Load is high on 2 nodes and query time as well. Bottleneck seems to be related to I/O. I was wondering, how can I know which indices or shards are the most access? I would like to move busy shards to nodes that are less busy. This would be a temporary solution until I add more I/O's.

Thanks,

Steeve


(Alexander Reelsen) #2

You can use the indices stats to find out how much time is spent searching per index.


#3

Thanks,

I have hundreds of indexes, how can I return index name, query_time desc? I am struggling with the curl command.

-Steeve


(Alexander Reelsen) #4

can you explain what your problem is? Which data are you missing to gather information?


#5

How can I use the https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-stats.html
via a curl command order by query_time desc?


(Alexander Reelsen) #6

ordering needs to be done by yourself, this just exposes stats. It is up to you what you do with it.


(system) #7

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