Most popular indices/shards

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

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

Thanks,

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

-Steeve

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

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?

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

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