网站首页 安全运维 winlogbeat的安装与使用
官方网:https://www.elastic.co/cn/downloads/beats/winlogbeat
外网比较慢,这里提供百度网盘地址
链接: https://pan.baidu.com/s/1PqVH1p3wn2hRB4_Zfspr2g 提取码: hznc
解压文件 解压到 C:\Program Files
,并更改名称为 winlogbeat
安装 管理员权限打开powershell,执行如下命令
cd 'C:\Program Files\Winlogbeat'
.\install-service-winlogbeat.ps1
配置winlogbeat
编辑 winlogbeat.yml
,建议使用 notepad++ 编辑 yml 文件 我这里是输出到 logstash ,还未测试输出到 elasticsearch 的效果
output.logstash: #取消前面的注释# The Logstash hostshosts: ["10.1.1.15:5044"]复制代码
测试命令.\winlogbeat.exe test config -c .\winlogbeat.yml -e
启动服务Start-Service winlogbeat