Skip to content

[9.3] [index mgmt] Use esql instead of query dsl to get the index count (#252422)#252547

Merged
kibanamachine merged 1 commit intoelastic:9.3from
kibanamachine:backport/9.3/pr-252422
Feb 10, 2026
Merged

[9.3] [index mgmt] Use esql instead of query dsl to get the index count (#252422)#252547
kibanamachine merged 1 commit intoelastic:9.3from
kibanamachine:backport/9.3/pr-252422

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

…astic#252422)

## Summary

Closes elastic#252409

In some cases the index management index list doc count will show error
if the combined length of indices exceeds 4096 bytes. Indices can have
names up to 255 chars so this problem could occur on a page size as
small as 20.

The solution is to use ESQL instead of query dsl to get the index doc
counts since the index list gets passed as part of the query body
instead of as part of the url.

### Release Notes

Fixes problem in 9.3.0 loading the doc count in index management when
viewing larger page sizes with long index names.

(cherry picked from commit 611fcf9)
@kibanamachine kibanamachine merged commit 8601410 into elastic:9.3 Feb 10, 2026
17 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #33 / Cloud Security Posture POST /internal/cloud_security_posture/graph Happy flows Enrich graph with entity metadata "before all" hook for "should contain entity data when asset inventory is enabled"

Metrics [docs]

✅ unchanged

cc @mattkime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

3 participants