Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask
If you already have Java
installed on your system, skip steps Install Cask and Install Java
If you already have Java
and Homebrew
installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew tap caskroom/cask
$ brew install brew-cask
$ brew cask install java
$ brew install elasticsearch
$ brew install kibana
$ cd /usr/local/Cellar/elasticsearch/<whatever version you have>
$ bin/plugin -i elasticsearch/marvel/latest
$ elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
$ kibana
- Elasticsearch: http://localhost:9200
- Marvel: http://localhost:9200/_plugin/marvel
- Kibana: http://localhost:5601
Love this walkthrough. Helped me a lot.
But it looks like there's been a few changes:
bin/elasticsearch-plugin install x-pack
Thanks again, without this I would never have gotten it to work 👍