docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
muryor 8f5f23381c add 3 years ago
..
README.md add 3 years ago
docker-compose.yml add 3 years ago
elk.sh add 3 years ago
es-master.yml add 3 years ago
es-slave1.yml add 3 years ago
es-slave2.yml add 3 years ago
filebeat.yml add 3 years ago
kibana.yml add 3 years ago
logstash-filebeat.conf add 3 years ago
logstash.yml add 3 years ago
nginx.conf add 3 years ago

README.md

当前默认的xpack配置为Trial版30天使用,密码在docker-compose的es主节点配置的 若想要开启集群内部安全通信ssl CA认证则将es的几个yml文件的xpack注释打开,同时将trial版配置注释掉 然后进入master节点

创建证书: bin/elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass ""

创建证书目录: mkdir config/certs

mv config/elastic-*.p12 config/certs/

chown -R elasticsearch:root config/certs/

再把证书文件 certs 复制到其他节点并赋予权限。

重启 elasticsearch

重置密码: bin/elasticsearch-setup-passwords interactive

注意: filebeat.yml权限

重置密码: docker-compose exec -T elasticsearch bin/elasticsearch-setup-passwords auto --batch