Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch version - 2.5.0
Server OS - CentOS 8
Browser - Chrome/Firefox
Describe the issue:
I am trying to create some pie-chart visualizations which can display the top 10 most used and top 10 least used permission from my permission index. Is there any way to achieve this?
I tried setting the “Order” to “Ascending/Descending” and the “Size” parameter to 10, but it is pretty obvious that not all records are counted before doing the sort, which leads to erronous results.
You can see in the screenshots that, for the permission “Validate the deletion of an Organization”, I initially get a count of 6 records but the correct value should be 90 (which becomes obvious when I filter ony on this permission).
Any ideas are greatly appreciated.
Relevant Logs or Screenshots: