ppadovani / KibanaNestedSupportPlugin

A plugin for Kibana 5.5 and beyond that adds support for nested field search and aggregation.
https://ppadovani.github.io/knql_plugin/overview/
Apache License 2.0
79 stars 7 forks source link

Split Charts shows empty Visualization #56

Closed bgeVam closed 6 years ago

bgeVam commented 6 years ago

Plugin version: 6.2.2-1.0.2

Kibana version: 6.2.2

Plugins installed: -

Description of the problem including expected versus actual behavior: Expected Behavior: Chart is displayed, Split Series works fine

Inserted Data:

"fall": "123456",
"mandant": "RKB",
"anreise": "2017-12-01 08:00:00",
"abreise": "2017-12-22 08:00:00",
"scores": [
  {
    "date": "2017-12-01 08:00:00",
    "label": "1.12.2017",
    "type": "TUG",
    "value": 23
  },
  {
    "date": "2017-11-01 08:00:00",
    "label": "1.11.2017",
    "type": "TUG",
    "value": 44
  },
  {
    "date": "2017-12-01 08:00:00",
    "label": "1.12.2017",
    "type": "FBA",
    "value": 22
  },
  {
    "date": "2017-11-01 08:00:00",
    "label": "1.11.2017",
    "type": "FBA",
    "value": 31
  }
]

Split Series works fine:

works

Split Charts stays empty:

broken

The table below shows, the values are there.

Errors in browser console (if relevant): browser error

ppadovani commented 6 years ago

FYI - the 1.0.2 release for Kibana 6.2.2 is not officially released. :-)

I'll take a look at this, and use this same release that is pending to fix this.

Based on sniff testing, this looks specific to the bar chart visualization. I'm able to split charts for the pie charts.

ppadovani commented 6 years ago

Ok... found the bug I believe. Can you please re-test? I was able to correctly split bar charts. If this fixes the issue, please indicate so but do not close the issue. I will close the issue after I have ported the fix to all releases.

I replaced the 1.0.2 build with a new build.

Thanks!

bgeVam commented 6 years ago

Could you compile for me? I won't be able to test until tuesday, but then I will for sure! Thanks for your quick reply, AND:

Thanks a lot for creating this wonderful plugin! :+1:

ppadovani commented 6 years ago

It is compiled... located here: https://github.com/ppadovani/KibanaNestedSupportPlugin/releases/download/6.2.2-1.0.1/nested-fields-support-6.2.2-1.0.2.zip

As soon as you verify, I'll officially cut the release and begin porting the fixes.

bgeVam commented 6 years ago

Thank you, that solved the issue!