cd /path/to
tar -xf v7.9.2.tar.gz
cd beats-7.9.2/filebeat make
生成filebeat可执行文件。
vi filebeat.yml
- type: log # Change to true to enable this input configuration. enabled: true setup.kibana: host: "127.0.0.1:5601" output.elasticsearch: hosts: ["127.0.0.1:9200","127.0.0.1:9201","127.0.0.1:9202"]
kibana和elasticsearch的地址以实际为准。