From d8f60f18c08c94b68f845f13b8ab253c53957dcf Mon Sep 17 00:00:00 2001 From: pengln Date: Thu, 23 Dec 2021 10:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20queue.mem=20=E5=92=8C=20fl?= =?UTF-8?q?ush.min=5Fevents=20=E5=86=B2=E7=AA=81=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/templates/filebeat.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/filebeat/templates/filebeat.yml b/playbooks/roles/filebeat/templates/filebeat.yml index 1c74245..4aa07b2 100644 --- a/playbooks/roles/filebeat/templates/filebeat.yml +++ b/playbooks/roles/filebeat/templates/filebeat.yml @@ -2,7 +2,8 @@ logging.json: false queue.mem: events: {{ filebeat_queue_mem_events | default(1024) }} - + flush.min_events: {{ filebeat_queue_mem_flush_min_event | default(512) }} + filebeat.inputs: - type: log paths: {{ logs[log_type]['paths'] }}