From 431fd883d0d9785b4e99c47ce8282ff1075820ac Mon Sep 17 00:00:00 2001 From: pengln Date: Fri, 18 Feb 2022 14:19:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=E6=A8=A1=E6=9D=BF=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=92=8C=E6=A8=A1=E6=9D=BF=E6=A8=A1=E5=BC=8F=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/templates/filebeat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/filebeat/templates/filebeat.yml b/playbooks/roles/filebeat/templates/filebeat.yml index 5a0115a..8fd928e 100644 --- a/playbooks/roles/filebeat/templates/filebeat.yml +++ b/playbooks/roles/filebeat/templates/filebeat.yml @@ -42,9 +42,9 @@ filebeat.config.modules: # ======================= Elasticsearch template setting ======================= #[#1002043] 通过强制filebeat注册ilm策略方式,修订意外丢失的ilm策略。 #如果filebaet_ilm_enabled被设置为false则禁止ilm,这是为了兼容华为云的ES -setup.ilm.enabled: {{ logs[log_type]['filebaet_ilm_enabled'] }} +setup.ilm.enabled: false setup.ilm.policy_name: "{{ logs[log_type]['setup_ilm_policy_name'] | default('gw-nginx-ug10') }}" -setup.ilm.check_exists: true +setup.ilm.check_exists: false setup.template.name: "{{ logs[log_type]['template_name'] }}" setup.template.pattern: "{{ logs[log_type]['template_pattern'] }}" -- 2.40.1