Hi,
I have Saved Searches, Visualizations, Dashboards created on older Elastic + Kibana version 5.5.0.
I have brought up another setup with latest version 5.6.0.
I want to export all the Saved Objects from 5.5.0 to 5.6.0.
I thought this will be a trivial step to just export it on older setup and import on the new one, but its turning out to be anything but that.
So here it goes:
From 5.5.0 to 5.6.0:
- Looks like in 5.5.0 the index pattern was saved as is whereas in 5.6.0 the associated index pattern ID is being saved.
- So when I try to import any Saved object, I get an error that index pattern ID not found and click to recreate it.
- If I try to recreate it, it fails as it is not able to find the index pattern ID.
Next I wanted to see export/import on same kibana versions.
From 5.6.0 to 5.6.0:
- Here I have seen such varying observations, that I am totally confused. Yesterday when I exported a query, I saw index pattern ID in the index field name,
"kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"AV6D_KbeoINw6SffgU8f\",
And today when I exported new but similar query, I see the index (which is an alias) name
"kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"debug-indices-alias\",
When i try to import this in another kibana running 5.6.0, it failed as the index alias was already present there (it should not have failed, I am only importing a query).
Anyways to move forward, I deleted the index pattern and tried to import again. It again gave the index pattern ID not found so I re-create the index pattern with the same name. It seemed to succeed but I don't see the query being imported.
Just to add, one or two times in this whole attempt, I was able to get the query imported but I don't really remember with which combination and what precise steps.
So my question is, am I doing anything wrong in exporting/importing Saved Objects or are there issues in this functionality that others have also faced?
-Thanks
Nikhil