Running Kibana from Docker

In my previous post I showed how we get Elasticsearch up and running, we also created a docker network like this

docker network create kibana-network

Like Elasticsearch in docker, we need to include the actual tag, so run the following

docker run -d --name kibana --net kibana-network -p 5601:5601 kibana:8.10.4

Now navigate to to you Kibana service using

http://192.168.0.88:5601/

If all goes well, Kibana will automatically locate Elasticsearch (if it’s on the same server). I’ve not tried host it on a different server but it looks like we need to get a “key” from Elasticsearch and supply that to Kibana to connect to it. For now, let’s just stick with both being hosted on a single server.

We can check the features of Kibana using

curl -X GET 'localhost:5601/api/features'

If you set the index and added some data into Elasticsearch as per the previous post, you should now be able to select the index via the Discover option in the web UI and view the data we entered via our Kibana instance.