环境
操作系统:阿里云 Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-83-generic x86_64)
软件版本:Filebeat 7.10.2
用户:root
运行
- 下载
从这里下载 filebeat 7.10.2。
- 配置
简单配置一下 filebeat.yml,从标准输入采集,写入到标准输出 :
filebeat.inputs:
- type: stdin
output.console:
pretty: true
- 运行
因为使用 root 用户,根据官方建议添加 --strict.perms=false 参数。
直接运行 ./filebeat -e --strict.perms=false:

出现异常:
runtime/cgo: pth

最低0.47元/天 解锁文章
2498

被折叠的 条评论
为什么被折叠?



