-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature Request] Field level statistics of lucene index files #12113
Comments
It would be useful to also show additional information for numeric field like min and max value per segment, shard, index etc. |
+1. Adding a disk usage stats API to provide usage of each field would help surface the metrics for Benchmarking as well. We can add it as a telemetry devices to OSB. CC: @rishabh6788 |
[Triage - attendees 1 2 3 4] |
|
by Adding a new parameter, like include_field_sizes, to the existing index stats API (/_stats/segments). provide users with detailed disk consumption statistics for individual fields within an index |
Is your feature request related to a problem? Please describe
It seems impossible to get statistics such as disk consumption of individual lucene segment files per field. We do have a similar API which can aggregate statistics at shard, index and cluster level using index stats API (https://opensearch.org/docs/latest/api-reference/index-apis/stats/). Like -
Describe the solution you'd like
Introduce similar API for query param to existing index stats API to provide this information at field level which can be aggregated at shard, index and cluster level per field.
This would be useful in understanding usage statistics per field. There is no way other than writing script to read lucene indexes and compute this information.
Related component
Other
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: