How to Setup Kibana for Elasticsearch 5.6

How to Setup Kibana for Elasticsearch 5.6 in 10 Easy Steps!

(1) Download the correct version of Kibana, not the latest.
(2) Run your elasticsearch instance in a Terminal tab by going into your Elasticsearch version 5.6 folder and running ./bin/elasticsearch
(3) Go to ./config/kibana.yml file and make sure your elasticsearch.hosts is pointing to your server location. In my case, it’s localhost:9200.

(4) Run the ./bin/kibana in Terminal from your Kibana folder. It may take a few times to let it run because it is from a different developer than Apple identified developers. Just right click on the file in Finder and select open with iTerm/Terminal, then click open on the prompt.
A series of tasks that Kibana needs to run in order to function will pop up in the Terminal. You should see something like the following:

Kibana-output
(5) Navigate to localhost:5601. You will see the Kibana default page like the following:
Kibana-homepage

(6) Go to the folder of your project which elasticsearch is connected to and run this command to find your indices to enter into Kibana: curl 'localhost:9200/_cat/indices?v'

This will show you output including the health, status, index, uuid, pri, rep, docs.count, docs.deleted, store.size, pri.store.size

Here is an example of the health status output:

health-status-output
Here is an example of the rest of the output without the indices:
rest-of-output
(7) Copy the indices name that you want to add to Kibana and paste it into the “Index pattern” box within the ‘Management’ tab under ‘Index Patterns’ with the header ‘Configure an index pattern’.
(8) Choose a ‘Time Filter field name’ after entering in the index name in the ‘Index pattern’ box.
(9) Click on ‘Create’ and you have added your index to Kibana for visualization!
(10) Go to the ‘Discover’ tab in Kibana to see your index data. You can use lucene query syntax to search through your data.

For more information to setup Kibana for developing visualizations, use the following links:

Kibana - Getting Started

Published 7 Jun 2019

founder && full stack && ethereum developer.
Max Goodman on Twitter