Version 3 (modified by 4 years ago) (diff) | ,
---|
ELK
- create internal docker network
docker network create -d bridge mynetwork
- start elasticsearch
docker run -p 9200:9200 -p 9300:9300 --net=mynetwork --name elasticsearch -e "discovery.type=single-node" docker.elastic.co/elasticsearc h/elasticsearch:7.6.2
- start logstash
docker run -d --name=logstash --network=mynetwork --env LOGSTASH_CONF_FILENAME=logstash.conf -v /home/krit/Documents/Dockers/ELK/Bitnami/bitnami-docker-logstash/pipeline:/bitnami/logstash/config bitnami.net/logstash:latest # to asscess as root user docker exec -it --user root logstash bash
- start kibana
docker run --rm --name kibana --net=mynetwork -p 5601:5601 kibana:7.6.2
Attachments (1)
-
Cluster.tar.gz (59.0 KB) - added by 4 years ago.
cluster docker-compose.yml
Download all attachments as: .zip