Skip to content

[Feature Request] Add field_count to /_cat/indices API #17707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Pigueiras opened this issue Mar 27, 2025 · 1 comment
Open

[Feature Request] Add field_count to /_cat/indices API #17707

Pigueiras opened this issue Mar 27, 2025 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing

Comments

@Pigueiras
Copy link

Is your feature request related to a problem? Please describe

I would like to request a new field field_count in the /_cat/indices API that provides the number of fields in an index’s mapping. By adding this metric, we would be able to set up OpenSearch monitors using the cluster metrics monitor type for indices when indices exceed a predefined threshold.

Describe the solution you'd like

Something like this:

GET /_cat/indices?h=index,field_count&v
index           field_count
my_index1       21
...

Related component

No response

Describe alternatives you've considered

No response

Additional context

No response

@Pigueiras Pigueiras added enhancement Enhancement or improvement to existing feature or request untriaged labels Mar 27, 2025
@andrross andrross added Indexing Indexing, Bulk Indexing and anything related to indexing and removed _No response_ labels Mar 27, 2025
@krisfreedain
Copy link
Member

Catch all triage - 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing
Projects
None yet
Development

No branches or pull requests

3 participants