diff --git a/playbooks/roles/filebeat/templates/filebeat.yml b/playbooks/roles/filebeat/templates/filebeat.yml index 181ff72..ff1b972 100644 --- a/playbooks/roles/filebeat/templates/filebeat.yml +++ b/playbooks/roles/filebeat/templates/filebeat.yml @@ -1,3 +1,13 @@ +# 关闭掉Filebeat本身的metrics日志输出 +logging.metrics.enabled: false + +# 修订配置文件自动reload +filebeat.config.inputs: + enabled: true + path: ${path.config}/filebeat.yml + reload.enabled: true + reload.period: 10s + logging.json: false queue.mem: