filebeat安装使用

https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.8.1-windows-x86_64.zip

修改D:\filebeat-7.8.1-windows-x86_64\filebeat.yml
- type: log
  enabled: true
  paths:
    - D:/testdata/*.log

#output.elasticsearch:
#  hosts: ["192.168.146.133:9200"]

output.logstash:
  hosts: ["192.168.146.133:5044"]


filebeat -e -c filebeat.yml