Skip to content

Instantly share code, notes, and snippets.

@djonsson
Last active November 11, 2022 21:10
Show Gist options
  • Save djonsson/6e06de4e28a6148b7a1e to your computer and use it in GitHub Desktop.
Save djonsson/6e06de4e28a6148b7a1e to your computer and use it in GitHub Desktop.
OS X installation instructions for Elasticsearch + Kibana + Marvel

What is this?

Following this guide will set up local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask

Prerequisites

Install Homebrew

  • ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Cask

  • brew tap caskroom/cask
  • brew install brew-cask

Install Java

  • brew cask install java

Installation

Install Elasticsearch and Kibana

  • brew install elasticsearch
  • brew install kibana

Install Marvel

  • cd /usr/local/Cellar/elasticsearch/<whatever version>
  • bin/plugin -i elasticsearch/marvel/latest

Start Applications

  • elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
  • kibana

Usage

@rugaard
Copy link

rugaard commented May 11, 2017

Love this walkthrough. Helped me a lot.

But it looks like there's been a few changes:

  • Marvel is now part of the X-Pack module.
  • The path for installing plugins has changed to bin/elasticsearch-plugin install x-pack

Thanks again, without this I would never have gotten it to work 👍

@theevilbit
Copy link

Brew cask installation:
brew install brew-cask-completion

@coolboygym
Copy link

What a beautiful guides. Thanks a lot.
Though, may be we need to add xpack.security.enabled: false in config file of both kibana and elasticsearch, which disable the security check when using x-pack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment