As I have started playing a little bit with ElasticSearch and Kibana locally, obviously via Docker. Feel free to find below how to start play with it as well.
First of all, let’s create a network in Docker that will be used to communicate by these products
Now we run Elasticsearch linked to an elastic network in single-node mode as we do not expect to cluster it with more nodes on localhost
Finally, we run Kibana also linked to an elastic network. We are also forced to define a variable called ELASTICSEARCH_HOSTS which is going to be loaded into kibana.yml into a container
Remember that elasticsearch and kibana should have the same versions, it’s a compelling requirement so they might both work correctly!