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
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.
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!
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!
Learn Elasticsearch today!
Take an online course and become an Elasticsearch champion!
Here is what you will learn:
- The architecture of Elasticsearch
- Mappings and analyzers
- Many kinds of search queries (simple and advanced alike)
- Aggregations, stemming, auto-completion, pagination, filters, fuzzy searches, etc.
- ... and much more!