cyhone

FileBeat-Log 相关配置介绍

  •  
  •   cyhone · Nov 27, 2019 · 6031 views
    This topic created in 2368 days ago, the information mentioned may be changed or developed.

    本文主要介绍 Filebeat 7.5 版本中 Log 相关的各个配置项的含义以及其应用场景。

    一般情况下,我们使用 log input 的方式如下,只需要指定一系列 paths 即可。

    filebeat.inputs:
    - type: log
      paths:
        - /var/log/messages
        - /var/log/*.log
    

    但其实除了基本的 paths 配置外,log input 还有大概十几个配置项需要我们关注。

    这些配置项或多或少都会影响到 Filebeat 的使用方式以及性能。虽然其默认值基本足够日常使用,但是还是需要深刻理解每个配置项背后的含义,这样才能够对其完全把控。

    点击查看原文

    1 replies    2019-11-27 09:43:37 +08:00
    cyhone
        1
    cyhone  
    OP
       Nov 27, 2019
    原文链接: https://www.cyhone.com/articles/usage-of-filebeat-log-config/
    欢迎大家关注公众号及同名知乎专栏:编程沉思录
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3098 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:48 · PVG 18:48 · LAX 03:48 · JFK 06:48
    ♥ Do have faith in what you're doing.