Installing Kibana for Elasticsearch on OS X

This entry is part 4 of 35 in the series Complete Guide to Elasticsearch

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 https://download.elastic.co/kibana/kibana/kibana-4.3.0-darwin-x64.tar.gz

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
./kibana

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!

Series Navigation<< Installing Elasticsearch on Mac OS XInstalling Sense for Kibana on OS X >>

One Comment

  1. David Runger said:

    Thank you! Worked great.

    May 17, 2016
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *