ELK
Elastichsearch, Logstash and Kibana
Deploy using Docker
Elasticsearch
The vm.max_map_count kernel setting needs to be set to at least 262144 for production use
sysctl -w vm.max_map_count=262144Deploy elasticsearch:
docker run \
-tid \
--name elasticsearch \
-p 9200:9200 \
-p 9300:9300 \
docker.elastic.co/elasticsearch/elasticsearch:6.7.0Kibana
docker run \
-tid \
--name kibana \
--net=host \
-p 5601:5601 \
docker.elastic.co/kibana/kibana:6.7.0Deploy using docker-compose
Run:
Deploy Filebeat
Create the config file:
Paste
Run the container:
Access Kibana: http://localhost:5601
Go to Management -> Index Patterns and create your index.
Last updated