From 7f03a7f4f5e58c26f87e3936c22940a27477c0ac Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 15 Feb 2022 13:59:33 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E5=85=B3=E9=97=AD=E6=8E=89Filebeat?= =?UTF-8?q?=E6=9C=AC=E8=BA=AB=E7=9A=84metrics=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA=20#=20=E4=BF=AE=E8=AE=A2=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=87=AA=E5=8A=A8reload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/templates/filebeat.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: