filebeat配置文件读取

filebeat配置文件实时读取目录


#=========================== Filebeat inputs =============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

- type: log

# Change to true to enable this input configuration.
enabled: true

# Paths that should be crawled and fetched. Glob based paths.
paths:
D:\XXX\server\XXXXX\logs\ad-server.log

posted @ 2019-09-02 17:09  yu_fly  阅读(616)  评论(0)    收藏  举报