-
-
Save kurtroberts/42a2980603c99606a465ef52165d8bf2 to your computer and use it in GitHub Desktop.
Setup ELK stack in Zentral
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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