-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Kibana: Array Values are by default sorting instead of printing as is. #99628
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
This is a limitation of how the top hits agg config works today. It's happening because we are fetching these from the docvalues which seem to not preserve the original order in Elasticsearch. |
Pinging @elastic/kibana-app-services (Team:AppServices) |
This will be fixed by #103279 Right now in these cases docvalues are used which are not preserving the original order.
returns
However using fields like this:
will return this:
|
Fixed by #103279 |
Kibana version: v7
Original install method (e.g. download page, yum, from source, etc.): I am using company infrastructure deployment.
Describe the bug: I am trying to show the field which is nested array (nestedResults), on Kibana (Lens) it is sorting the array values when displaying it on the dashboard (Lens visualization). I am breaking the nested array on the unique field values.
Steps to reproduce:
Expected behavior: The values of array print as is on Kibana and should not sort the values.
Screenshots (if relevant):

Any additional context:
https://discuss.elastic.co/t/kibana-sorting-out-array-values/272266
The text was updated successfully, but these errors were encountered: