Is Directory path for storing data needs to be created manually or does it get created during application restart automatically

I am setting path.data and path.log file as below in elasticsearch.yml file. Can someone please confirm if the directory "/opt/elasticsearch/data" and "/opt/elasticsearch/log" should pre-exists in that path Or it will be created by default once elasticsearch application will be started.


path.data: /opt/elasticsearch/data
path.log: /opt/elasticsearch/log


You should create those.

Thanks Warkolm.

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