Change index name in Visualization

Hi All,

Is there a better way to change the index name for a Visualization?

Say I have created a Visualization with index name "test1" and now I have update the index name to "test2".
One way I found is to go to Settings --> Saved Objects --> Visualization tab and select the required Visualization say a pie chart and update the index name in "kibanaSavedObjectMeta.searchSourceJSON".

Thanks
MS

2 Likes

i think that is the only way

Thanks Peter for the quick response.
Do we have any roadmap for adding a feature to Visualization/Dashboard to update index name in a better way, say a dropdown list of all indexes available and user can simply select it and the Visualization/Dashboard is updated with the selected index.

1 Like

not that i am aware of but please go on and create an issue on github. thanks!

Thanks Peter! Will create one.

changing index is can be laborious if you have many visualizations, dashboards etc. In this case what I've done is to Export (In Management -> Saved Objects). This would download a JSON (text file) where you can search and replace (e.g using tools like sed) , and then upload it again.

leofer@gmail.com
Ofer

5 Likes

Thanks Ofer! Ya, that is useful if you have many visualizations/dashboards.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.