filebeat安装和启动
1、访问官网下载安装文件
https://www.elastic.co/cn/beats/filebeat
2、修改配置文件
修改配置文件filebeat.yml,配置elasticsearch和kibana访问地址
output.elasticsearch:
hosts: ["localhost:9200"]
username: "elastic"
password: "changeme"
setup.kibana:
host: "localhost:5601"
3、启动命令
linux:
sudo ./filebeat -e -c filebeat.yml
windows:
filebeat.exe -e -c filebeat.yml
扫描下方二维码,关注公众号:程序进阶之路,实时获取更多优质文章推送。

扫码关注