安装参考官方文档:
https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html
注意事项:
From the PowerShell prompt, run the following commands to install Filebeat as a Windows service
PS > cd 'C:\Program Files\Filebeat'
PS C:\Program Files\Filebeat> .\install-service-filebeat.ps1
PowerShell要用x86版。