Installing Kibana for Elasticsearch on OS X

Published on December 10, 2015 by

The first thing you have to do in order to install Kibana for Mac OS X, is to download Kibana. Kibana can be downloaded here in your browser or by running the below command in your terminal. You should download either the .zip or the .tar.gz file.

curl -L -O

Be sure to replace the above version with the most recent version!

Extracting the Archive

Next, you need to extract the archive that you downloaded in the above step. Simply find the file in Finder and double-click on it, or execute the below commands within the terminal.

cd /path/to/archive
tar -zxvf kibana-4.3.0-darwin-x64.tar.gz

Configuring Kibana

Once the archive has been extracted, we need to configure Kibana a little bit. To do so, navigate to the config directory within the extracted Kibana directory and open up the kibana.yml file in any text editor.

cd kibana-4.3.0-darwin-x64
open kibana.yml

Near the top, you will need to find the following lines.

# The Elasticsearch instance to use for all your queries.
# elasticsearch.url: "http://localhost:9200"

From the second line, remove the # sign and configure the URL to your Elasticsearch cluster if necessary. Once done, save and close the file.

Starting Kibana

Now it’s time to start Kibana. Navigate to the Kibana directory and then to the bin directory. After that, enter ./kibana to start up Kibana. Make sure that your Elasticsearch cluster is running before doing this, as Kibana relies on it.

cd /path/to/kibana
cd bin

That’s it, Kibana should now be starting up, and you should be good to go!

Testing Kibana

To ensure that everything is working as intended, open up your browser and navigate to http://localhost:5601. You should now see the Kibana interface load, in which case everything works perfectly.

Congratulations, you have now installed Kibana for Elasticsearch on Mac OS X!

Author avatar
Bo Andersen

About the Author

I am a back-end web developer with a passion for open source technologies. I have been a PHP developer for many years, and also have experience with Java and Spring Framework. I currently work full time as a lead developer. Apart from that, I also spend time on making online courses, so be sure to check those out!

3 comments on »Installing Kibana for Elasticsearch on OS X«

  1. David Runger

    Thank you! Worked great.

  2. ray

    `brew install kibana`

    `brew services start kibana`


  3. Murali

    Thank you.

Leave a Reply

Your e-mail address will not be published.