Is there a way to sort shards by indexing time metric?
My specific scenario is that Logstash makes a bulk requests to various indices but one index might have inefficient mapping which allows for fields explosion which slows down indexing on specific node for all indices, in some cases results in requests rejection due to full write queue. I'm hoping by identifying the slowest shard for indexing I could move it to a different node or at least narrow down the scope of the problem more quickly.
Thanks!