1、访问官网下载安装文件https://www.elastic.co/cn/beats/filebeat2、修改配置文件修改配置文件filebeat.yml,配置elasticsearch和kibana访问地址output.elasticsearch:hosts:["localhost:9200"]username:"elastic"password:"changeme"setup.kibana:host:"localhost:5601"3、启动命令linux:sudo./filebeat-e-cfilebeat.ymlwindows:filebeat.exe-e-cfilebeat.yml