I have two spaces, space 1 and space 2. I have 10 saved objects in space 1 and 0 saved objects in space 2. When I try to export all saved objects(including index patterns) from space 1 to space 2, the import is successful, but I still need to choose a default index pattern. Is this expected behaviour? Isn't the flag say that an index pattern is default or not part of the export/import json?
The information which index pattern is the default is not part of the index pattern itself (otherwise multiple index patterns could compete for this status), but it's stored in the advanced settings. These are a saved object itself and you should be able to export/import them in the same way:
So while migrating saved objects across spaces, can we also import Advanced Settings saved object in the new space? Is this expected or is it an anti-pattern?
Also, I don't see a saved object of type: config in my list of saved objects. I am using kibana version 6.8.1
Thanks for the clarification @Mikhail_Shustov. So to reiterate, if I am using Kibana 6.8.1 I would have to manually go a choose an index pattern and set it to default while migrating saved objects across spaces. Right?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.