Exporting a Controls visualization and then importing doesn't fix up index pattern references #16703
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
Kibana version: 6.2.1
Elasticsearch version:6.2.1
Server OS version:Ubuntu 16.04.3 LTS
Browser version:Version 64.0.3282.140 (Official Build) (64-bit)
Browser OS version:Ubuntu 16.04.3 LTS
Original install method (e.g. download page, yum, from source, etc.):
docker
Description of the problem including expected versus actual behavior:
I exported all of my saved objects from my cloud server at version 6.2.1 and imported them into my desktop deployment same version.
It prompted to fix up the index patterns and I chose the correct ones and it appeared to succeed.
When I went to the dashboard I got an error saying that an index pattern was not found.
I narrowed it down to the Controls visualization that I had added.
I exported just that visualization and looking at it could see that in each control definition in the json was a reference to the old index pattern.
I replaced those with the correct reference and imported the json and it worked.
Steps to reproduce:
1.
2.
3.
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Describe the feature:
The text was updated successfully, but these errors were encountered: