ppadovani / KibanaNestedSupportPlugin

A plugin for Kibana 5.5 and beyond that adds support for nested field search and aggregation.

Home Page:https://ppadovani.github.io/knql_plugin/overview/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Percentile aggregations don't work on nested fields

erkserkserks opened this issue · comments

Plugin version:
6.2.2-1.0.4 and 5.6.6-1.0.2

Kibana version:
6.2.2 and 5.6.6

Plugins installed:
KNQL only

Description of the problem including expected versus actual behavior:
Percentile aggregations don't work on nested fields. I have also encountered this issue with the standard deviation, median, and percentile ranks aggregations.

The test data was generated using scripts/nested-support/genData.py
Both Kibana 5.6.6 and 6.2.2 have the same bug.

This does the right thing (Non-nested field):
expected

This does the wrong thing (Nested field):
actual

We seem to be getting a valid elasticsearch response with nested field, but the response is not rendered properly
actual response

Errors in browser console (if relevant):
There wasn't anything interesting in the console before these rendering errors.
console log

Thanks for the report. I won't be able to look at this until late this coming weekend. At first glance, it looks like I'm missing some functionality on the response processing. I don't think it will be difficult to get working.

Ok.. tracked down the percentiles one... the others should be easy enough to track down and fix. I won't have time to finish this until the weekend.

No worries! Thanks for taking a look :)

Ok.. I have these fixed locally... I'm going to track down the other two issues, then I'll cut a release.

Fixed in 6.2.2, 6.2.3, 6.2.4

Will begin back porting tomorrow.

Fixed in 6.2.1

Back ported to all supported 6.X+++ releases

Ported to: 5.6.7, 5.6.8 and 5.6.9