Recently I moved the path.data to a different folder, keeping permissions and everything, changing the option in elasticsearch.yml and it worked as expected and everything working fine.
However, in the Elasticsearch logs, I can see the following error:
[2020-02-04T19:38:38,109][ERROR][o.e.x.s.a.e.ReservedRealm] [node-1] failed to retrieve password hash for reserved user [elastic]
org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index [.security-7] is unavailable
I checked that .security-7 index has only one primary shard and its state is STARTED. Moreover, my Filebeat and Kibana are using credentials to connect to Elasticsearch and are working fine. It's only one Elasticsearch node.
I'm just curious about what can be going wrong with that index. Someone can explain?
Thank you so much.