Change Elasticsearch data store path


(Manoj) #1

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..


(Manoj) #2

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.


(Manoj) #3

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.


(system) #4

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