wiki:ELK

Version 4 (modified by krit, 4 years ago) (diff)

--

ELK

  1. create internal docker network
    docker network create -d bridge mynetwork
    
  1. start elasticsearch
    docker run -p 9200:9200 -p 9300:9300 --net=mynetwork --name elasticsearch -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.6.2 
    
  1. 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
    
  1. start kibana
    docker run --rm --name kibana --net=mynetwork -p 5601:5601 kibana:7.6.2  
    

Attachments (1)

Download all attachments as: .zip