Optimize Index Management's indices list network performance #106041
Labels
enhancement
New value added to drive a business result
Feature:Index Management
Index and index templates UI
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
When Index Management is loaded, the UI sends a request to
GET /api/index_management/indices
. The Kibana server handles this request by making two requests to Elasticsearch:GET *?expand_wildcards=hidden,all
GET /_cat/indices?format=json&h=health,status,index,uuid,pri,rep,docs.count,sth,store.size&expand_wildcards=hidden,all&index=*
However, the table itself only uses information from the
/_cat/indices
request. The request for all indices contains settings, aliases, and mappings information, none of which is surfaced in the table:This means that the initial request to load all indices can potentially be very slow or even crash Kibana. I opened elastic/elasticsearch#64099 to address this problem through improved pagination of Elasticsearch REST APIs, but we can solve this specific problem in Kibana by implementing the following:
/_cat/indices
API when listing all indices.The text was updated successfully, but these errors were encountered: