chenyahui / chenyahui.github.io

My blog
http://www.cyhone.com
0 stars 2 forks source link

FileBeat-Log 相关配置指南 | 编程沉思录 #30

Open chenyahui opened 4 years ago

chenyahui commented 4 years ago

https://www.cyhone.com/articles/usage-of-filebeat-log-config/

本文主要介绍 Filebeat 7.5 版本中 Log 相关的各个配置项的含义以及其应用场景。 一般情况下,我们使用 log input 的方式如下,只需要指定一系列 paths 即可。 12345filebeat.inputs:- type: log paths: - /var/log/messages - /var/log/*.log 但其实除了基本的 paths 配置外,log