When running the Analyze Disk Usage API, it may be rather slow on clusters with slow disks and data at a certain size. On one of our development cluster this API needs six minutes to return data.
I think this endpoint should have an async option, otherwise it cannot be run within Kibana, as it timeouts earlier.
Steps to Reproduce
Run the API on a HDD based system with a decent amount of data.
Elasticsearch Version
8.15
Installed Plugins
No response
Java Version
bundled
OS Version
any
Problem Description
When running the Analyze Disk Usage API, it may be rather slow on clusters with slow disks and data at a certain size. On one of our development cluster this API needs six minutes to return data.
I think this endpoint should have an async option, otherwise it cannot be run within Kibana, as it timeouts earlier.
Steps to Reproduce
Run the API on a HDD based system with a decent amount of data.
Logs (if relevant)
No response