Installing Elasticsearch and Kibana on MacOS

This tutorial covers the steps to install Elasticsearch and Kibana on MacOS.

Image for post
Image for post

Pre-Requisites

Before we can install Elasticsearch and Kibana, we need Homebrew and Java.

Image for post
Image for post
Image for post
Image for post
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Image for post
Image for post
$ /usr/libexec/java_home -V
Image for post
Image for post
$ brew cask install java

Installing Elasticsearch

To install Elasticsearch’s most recent default distribution, run the following Homebrew command:

$ brew cask install elasticsearch
Image for post
Image for post
$ brew services start elasticsearch
Image for post
Image for post
Image for post
Image for post

Installing Kibana

To install Kibana’s most recent default distribution, run the following Homebrew command:

$ brew cask install kibana
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
GET /_cat/health?v
Image for post
Image for post
PUT /customer/_doc/1
{
"name": "George Marklow"
}
Image for post
Image for post
GET /customer/_doc/1
Image for post
Image for post

Written by

George is a software engineer, author, blogger, and tech enthusiast who believes in helping others to make us happier and healthier.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store