Docker lets you check the full elastic 5 stack in a few seconds. The only thing required is a docker-compose file that includes and links the appropriate containers together.

What changed and what’s broken

There has been a big revamping of the Kibana interface. The vertical command bar is far less intrusive than the horizontal bar of the previous version which is more than appreciated on small screens.

For the rest if you are not a power user it does not change that much except that:

  • Most third party plugins are no longer working and require adjustments. This is the case of our own plugins available are that now exists in version 4 and 5 of Kibana https://github.com/snuids. The changes are not that important but old plugins simply don’t load. So you need to wait for updates before using the new Kibana if you use such plugins.
  • Elastic plugins are no longer authorised. It is a good move but it could make your life more difficult if you use plugins as Kopf or HQ for your cluster monitoring.

Fortunately, there is now a new stand alone Kopf version called cerebro that can replace our loss. The following docker-compose file includes it as a container.

Docker-Compose File

#COMPOSE ELK5

version: '2'
 services:

##############################
 cerebro:
 image: snuids/cerebro:latest
 container_name: cerebro
 ports:
 - 9000:9000
 links:
 - esnode1

##############################
 esnode1:
 image: elasticsearch:5
 environment:
 - ES_JAVA_OPTS=-Xmx1g -Xms1g
 ports:
 - "9201:9200"
 - "9301:9300"
 container_name: esnode1

##############################
 kibana:
 image: snuids/kibana5withextravisus:v5.0.0
 ports:
 - "5601:5601"
 environment:
 - ELASTICSEARCH_URL=http://esnode1:9200
 container_name: kibana
 links:
 - esnode1

Simple save this file as docker-compose.yml and launch the stack using the following command:

docker-compose up -d

You should now be able to access the following services at the following addresses:

Cerebro: http://localhost:9000 => use http://esnode1:9200 to access your node
Elastic: http://localhost:9200
Kibana: http://localhost:5601

Note that our Kibana image has three additional plugins:

  • The traffic light visualizer
  • An offline map visualizer
  • An offline country map visualiser

Cerebro

cerebroelk5

Kibana 5

kibana5offlinemap