Duplicate Data Views, Recreate Discover Session

Hello,

I am working on shrinking spaces into one space in Elastic. I been able to move dashboards from different spaces into one space, the issue is that I have now duplicate data views.

For example:

So the simple answer is delete the non-default one. The issue is that it contains relationships to dashboards/discover session.

How can I ensure that I can replace the data view on the discover session without it being broken? In other words, replace non needed logs-* with the logs-*(default)

ES/Kibana: 8.18.0

I deleted the logs-*:
and I was able to recover the visualizations by allowing me to reselect a data view:
BUT the saved search/discover session are not able to be recovered

Hello @erikg

I tried to reproduce similar usecase by deleting the underlying dataview & see below error :

Now since the dataview is deleted , you can recreate the search on the available dataview & link that to the dashboard. To find what was there in the old search, you can check & try to inspect the object to see what was query/columns used to create the saved search.

Thanks!!

2 Likes

I would say that's the best option I have. It should be a way to just reselect the data view, if the saved search's data view is deleted.

Thanks!