Skip to content
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 plots only a single field after migration on area charts and displays everything after user makes a minor change on labels, titles etc #112345

Closed
bhavyarm opened this issue Sep 15, 2021 · 4 comments · Fixed by #112972
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vis Editor Visualization editor issues Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure :VisEditors:fix-it-week

Comments

@bhavyarm
Copy link
Contributor

Kibana version: 7.15.0/7.14.1

Elasticsearch version: 7.15.0/7.14.1

Server OS version: darwin_x86_64

Browser version: chrome latest

Browser OS version: OS X

Original install method (e.g. download page, yum, from source, etc.): from Staging

Describe the bug: Kibana plots only a single field on area charts after migration on area charts. For us to see all the different field plots - we have to do some minor changes in labels, titles etc.

everything_gets_shown.mp4

There is nothing in the logs anywhere. I imported the saved object file from the sdh and associated the saved object with metricbeat index pattern in my local and could see the viz without anyproblems.

I am attaching a zip which contains old.json and new.json. old.json is the one which doesn't show more than single field data plots. the new one is after changing the label and has a lot more content in visState.

old_new_json.zip

@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Vis Editor Visualization editor issues labels Sep 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@nickofthyme
Copy link
Contributor

I'll look a little closer at the migrations but I don't see any that would cause this. @stratoula any ideas?

@stratoula
Copy link
Contributor

stratoula commented Sep 16, 2021

@nickofthyme I saw the saved object. This is an old chart (older than 6.8). The visState is quite different than the one created by a 6.8 area chart. If I migrate a 6.8 chart to 7.15, everything works correctly, but this one has an old visState and it seems that something goes wrong with the new implementation (I checked with vislib and works fine).
I have created a SO from our kibana_sample_data_logs sample data. The bug can be replicated if it is imported in a 7.15 instance and uses the new implementation.

Here it is
old_new_SO.zip

@nickofthyme
Copy link
Contributor

nickofthyme commented Sep 16, 2021

Ahh thanks for the explanation @stratoula, that's good to hear. Thanks for checking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vis Editor Visualization editor issues Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure :VisEditors:fix-it-week
Projects
None yet
5 participants