docker安装filebeat
1、使用docker拉取filebeat镜像
docker pull docker.elastic.co/beats/filebeat:7.13.3
2、下载filebeat配置文件
curl -L -O https://raw.githubusercontent.com/elastic/beats/7.13/deploy/docker/filebeat.docker.yml
3、启动容器
docker run \
docker.elastic.co/beats/filebeat:7.13.3 \
setup -E setup.kibana.host=172.31.141.67:5601 \
-E output.elasticsearch.hosts=["172.31.141.67:9200"]