============ ELK ==============
docker pull elasticsearch:6.7.1
docker pull kibana:6.7.1
docker pull logstash:6.7.1
docker run -itd --name elasticsearch6.7.1 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:6.7.1
docker run -itd --name kibana6.7.1 -p 5601:5601 --link elasticsearch6.7.1:elasticsearch kibana:6.7.1
docker run -itd --name logstash6.7.1 --link elasticsearch6.7.1:elasticsearch logstash:6.7.1 logstash -e 'input { stdin{} } output { elasticsearch { hosts => ["elasticsearch:9200"] } }'
http://xx.xx.xx.xx:5601
参考:https://www.cnblogs.com/sunsing123/p/10912826.html