admin管理员组文章数量:1026738
一,下载filebeat
https://www.elastic.co/cn/downloads/past-releases/filebeat-6-5-1
二,打开windows,上传压缩包到C盘,解压压缩包
三,配置filebeat.yml
- type: log
enabled: true
encoding: utf-8
paths:
- c:\programdata\elasticsearch\logs\*
fields:
logtype: test
group: test
server: test10
fields_under_root: true
exclude_lines: ['poll','running','Content-Length']
exclude_lines匹配字符串只能写一条,可以写多个匹配;
exclude_lines第二条匹配只能写正
一,下载filebeat
https://www.elastic.co/cn/downloads/past-releases/filebeat-6-5-1
二,打开windows,上传压缩包到C盘,解压压缩包
三,配置filebeat.yml
- type: log
enabled: true
encoding: utf-8
paths:
- c:\programdata\elasticsearch\logs\*
fields:
logtype: test
group: test
server: test10
fields_under_root: true
exclude_lines: ['poll','running','Content-Length']
exclude_lines匹配字符串只能写一条,可以写多个匹配;
exclude_lines第二条匹配只能写正
版权声明:本文标题:windows添加filebeat收集日志 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1743890130a2047461.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论