Docker ELK
#官方文档
# Docker ELK文档
http://elk-docker.readthedocs.io/
# Docker Hub官网 ELK
https://hub.docker.com/r/sebp/elk/
# github elk
https://github.com/spujadas/elk-docker
https://github.com/spujadas/elk-docker/blob/master/nginx-filebeat/Dockerfile
1、内存 至少4GB,或者限制使用最小内存及最大内存(docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -e ES_MIN_MEM=128m -e ES_MAX_MEM=1024m -it --name elk sebp/elk)
2、mmap大于等于262144
3、开启端口5044T
sudo docker pull sebp/elk
sudo docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk
汉化kibana
docker exec -it elk /bin/bash
echo 'deb http://mirrors.aliyun.com/ubuntu/ xenial xenial-updates main universe restricted multiverse'>>/etc/apt/sources.list
echo 'deb-src http://mirrors.aliyun.com/ubuntu/ xenial xenial-updates main restricted multiverse universe'>>/etc/apt/sources.list
apt-get update
apt install git -y
apt install python -y
cd /opt
git clone https://github.com/anbai-inc/Kibana_Hanization.git
cd Kibana_Hanization
python main.py /opt/kibana
service kibana restart