I've upgraded both Elasticsearch and Kibana from 6.4.3 to 6.5.4. First, I upgraded Elasticsearch, while running Kibana 6.4.3 and everything was okay; I could still see my dashboards, index patterns, data visualizations, etc etc. I check monitoring and it was indeed running the new version of Elasticsearch with the older version of Kibana. So I guessed I made the Elasticsearch upgrade successfully.
However, after upgrading Kibana, all my dashboards, index patterns, disappeared. My Elasticsearch indices didn't disappear though, but I find it too tedious to start creating the index patterns and dashboards all over again. I thought it was all going to be saved in the Default space.
PS.: When running the new Kibana for the first and second time, I encountered a message saying that there was another instance of Kibana running, and through this forum I found out that by renaming the ".kibana" index to ".newkibana" in the kibana.yml file I could solve it. I solved it, but now all my work is gone
Edit: I solved the issue by exporting the saved objects while running both old versions of Elasticsearch and Kibana, and then importing them when I ran the new version.