We are using ES 7.5.0 and use telegraf to collect and write metrics. We use the elasticsearch plugin in telegraf which mainly makes use of Node Stats which gives node level metrics.
We would like to get index and shard level metrics like Read Throughput, Write Throughput, Read Latencies (95%, 99%), Write Latencies (95%, 99%), etc.
What would be the best way to achieve this?