Change Elasticsearch data store path

Hi All,

I am using Elasticsearch 2.4 and I wanted to store the elastic search index files in different location I specify.

I changed the path.data: /apps/opt/elasticsearch in elasticsearch.yml. But I am not seeing the elasticsearch data moving.

Please help.. Because I don't have storage space in default installation path..

I referred this link http://stackoverflow.com/questions/30628738/how-to-change-path-for-data-storage-for-elasticsearch

I changed the permission from root user to my id. But till no positive result.

Found a solution. user should be elasticsearch. on executing the chown elasticsearch:elasticsearch folder as root user on the directory and restarting the elasticsearch and kibana resolved the issue. Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.