Elasticsearch not showing indexes after VM update

Hello everyone! I installed a cluster composed by a single node in a VM, with a disk attached to it and used for data storage (path.data configuration). The problem I'm facing is that in case the VM is destroyed and rebuilt all the indexes are not visible anymore from kibana (while they are still present on the disk). Do you have any idea why this would happen and how I could handle it?

Can you elaborate more on what you mean by this?