Kibana dashboards disapper after elastic restart and new cert creation

@Bhavani_Ananth when you say

We created everything anew.

do you mean you recreated the entire deployment? If so, I'm not sure what you mean by

In fact even the spaces that we had created were deleted.

You should be able to recreate the original cluster state by restoring a snapshot of your previous cluster (see the snapshot-restore docs).

The other option to "reinstate" your saved objects is to import them from an export of the older cluster (if that is still around).

I really hope you have a snapshot before all the changes!