Installed elasticsearch using homebrew and cannot locate the config files
Just type brew info elasticsearch
, it should print you all the paths.
While @karmi's answer gets you most of the way there, you'll actually need to look at the .plist that is linked when you install via homebrew and follow the (LaunchAgent instructions)
more ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
Will produce some output that includes the important line:
es.config=/usr/local/Cellar/elasticsearch/0.20.5/config/elasticsearch.yml
Hope this helps.
On my macOS it's located here:
/usr/local/etc/elasticsearch/elasticsearch.yml
And on Windows it should be here:
C:\ProgramData\Elastic\Elasticsearch\config\elasticsearch.yml