From 3a99b77ce69d2f8d879744e32333f694435524d8 Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 9 Nov 2021 11:38:23 +0800 Subject: [PATCH] =?UTF-8?q?#1001590=20=E5=A2=9E=E5=8A=A0=E9=92=88=E5=AF=B9?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=BA=94=E7=94=A8=E6=97=A5=E5=BF=97=E7=9A=84?= =?UTF-8?q?=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../filebeat/templates/filebeat-gateway-nginx-template.yml | 3 ++- .../roles/filebeat/templates/filebeat-manager-template.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml b/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml index d896414..ea9c206 100644 --- a/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml +++ b/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml @@ -1,4 +1,5 @@ -filebeat.registry.path: {{ work_path }}/gw-nginx-{{ instance_name }}_data +path.data: {{ work_path }}/data +filebeat.registry.path: {{ work_path }}/data/registry/gw-nginx-{{ instance_name }} filebeat.inputs: {% for log in gwlogs %} diff --git a/playbooks/roles/filebeat/templates/filebeat-manager-template.yml b/playbooks/roles/filebeat/templates/filebeat-manager-template.yml index 5450665..b9a0a0f 100644 --- a/playbooks/roles/filebeat/templates/filebeat-manager-template.yml +++ b/playbooks/roles/filebeat/templates/filebeat-manager-template.yml @@ -1,4 +1,5 @@ -filebeat.registry.path: {{ work_path }}/mgr-cp-{{ instance_name }}_data +path.data: {{ work_path }}/data2 +filebeat.registry.path: {{ work_path }}/data2/registry/mgr-cp-{{ instance_name }} filebeat.inputs: {% for log in mgrlogs %} -- 2.40.1