elk7.6 部署

version: '2'
services:
elasticsearch:
image: elasticsearch:7.6.1
ports:
- "9200:9200"
- "9300:9300"
environment:
discovery.type: single-node
kibana:
image: kibana:7.6.1
environment:
- I18N_LOCALE=zh-CN
- XPACK_GRAPH_ENABLED=true
- TIMELION_ENABLED=true
- XPACK_MONITORING_COLLECTION_ENABLED="true"
depends_on:
- elasticsearch
ports:
- "5601:5601"
logstash:
image: logstash:7.6.1
depends_on:
- elasticsearch
ports:
- "9600:9600"
stdin_open: true
tty: true
entrypoint: logstash -e 'input { stdin{} } output { elasticsearch { hosts => ["elasticsearch:9200"] } }'

猜你喜欢

转载自www.cnblogs.com/lIllIll/p/12714675.html