windows环境
packetbeat Doc: https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-installation.html
1.安装并配置packetbeat运行环境
下载安装WinPcap
下载windows版本的packetbeat
解压packetbeat zip包到 C:\Program Files 目录
修改解压后的packetbeat-<version>-windows文件夹名为Packetbeat
管理员权限运行PowerShell
移动到 C:\Program Files\Packetbeat 目录
执行install脚本: .\install-service-packetbeat.ps1
执行策略出错时更改执行策