Sometimes Kibana needs to know which ES indices are "TSDB", for example, to show them in METRICS ES|QL command autocomplete. Currently, the most efficient way to fetch such list is to first query for all indices using the GET /_resolve/index/* call and then loop through each index and execute GET /<index>/_settings for each index.
Instead, provide index mode metadata directly in the GET /_resolve/index/* API response, so that GET /<index>/_settings does not need to be called for each index.
Description
Sometimes Kibana needs to know which ES indices are "TSDB", for example, to show them in
METRICS
ES|QL command autocomplete. Currently, the most efficient way to fetch such list is to first query for all indices using theGET /_resolve/index/*
call and then loop through each index and executeGET /<index>/_settings
for each index.Instead, provide index mode metadata directly in the
GET /_resolve/index/*
API response, so thatGET /<index>/_settings
does not need to be called for each index.