Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where Elasticsearch store the data on Mac

Similar question to this one about debian. I have non-customized installation and I wonder where the data is actually stored. It is not in /var/lib/elasticsearch/nodes/0/indices/{nameOfYourIndex}/(0-4}/index as indicated in the accepted answer to the linked question.

like image 212
Dror Avatar asked Mar 21 '16 08:03

Dror


3 Answers

On OS X (El Capitan) installed through brew it is found in /usr/local/var/elasticsearch

like image 88
Michael Yagudaev Avatar answered Oct 14 '22 00:10

Michael Yagudaev


On your computer i.e. Mac OS X you can use the command:

brew info elasticsearch

# or

brew info elasticsearch[@version] i.e. brew info [email protected]

and you see where data are.

Here are my directories:

==> Caveats
Data:    /usr/local/var/lib/elasticsearch/
Logs:    /usr/local/var/log/elasticsearch/elasticsearch_xxx.log
Plugins: /usr/local/var/elasticsearch/plugins/
Config:  /usr/local/etc/elasticsearch/
like image 37
Štefan Bartoš Avatar answered Oct 13 '22 22:10

Štefan Bartoš


On Mac, the data is stored in the data sub-folder of your elasticsearch installation folder.

See the directory layout for normal installations, i.e. neither Linux nor Windows.

like image 33
Val Avatar answered Oct 13 '22 22:10

Val