ElasticsearchとKibanaをインストール

環境

  • MacOS X: 10.12.1
  • elasticsearch: 5.0.1
  • Java: 1.8.0_112
  • kibana: 5.0.1
  • Homebrew 1.1.1-53-gc7267b1

Homebrewによるインストール

% brew install elasticsearch
Data:    /usr/local/var/elasticsearch/elasticsearch_haru/
Logs:    /usr/local/var/log/elasticsearch/elasticsearch_haru.log
Plugins: /usr/local/Cellar/elasticsearch/5.0.1/libexec/plugins/
Config:  /usr/local/etc/elasticsearch/
plugin script: /usr/local/Cellar/elasticsearch/5.0.1/libexec/bin/plugin
To have launchd start elasticsearch now and restart at login:
  brew services start elasticsearch
Or, if you don't want/need a background service you can just run:
  elasticsearch
% brew install kibana
Config: /usr/local/etc/kibana/
If you wish to preserve your plugins upon upgrade, make a copy of
/usr/local/opt/kibana/plugins before upgrading, and copy it into the
new keg location after upgrading.

To have launchd start kibana now and restart at login:
  brew services start kibana
Or, if you don't want/need a background service you can just run:
  kibana

それぞれ % elasticsearch , % kibana で実行し、下記へアクセス。