Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setup ELK stack in Zentral
## To install Kibana
sudo docker pull sebp/elk:latest
## To run the link on your localhost just to test
docker run --link zentral_elastic_1:elasticsearch -p 127.0.0.1:5601:5601 --net zentral_default kibana
## After this, you should be able to access the Kibana dashboard from 127.0.0.1:5601
## Edit the base.json under conf/start/zentral/base.json
vi ./conf/start/zentral/base.json
## change the following line
"kibana_base_url": "http://zentral.domain.com:5601
## Edit the docker-compose.yml file to include kibana at load
vi ./docker-compose.yml
## Change the following line to this:
elastic:
image: elasticsearch
## add the kibana image and link it, and forward ports
## lines to add:
kibana:
image: kibana
links:
- elastic:elasticsearch
ports:
- "5601:5601"
## Restart everything with the following commands:
docker-compose stop
docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.