From 0455b1d144e8a9a1d7141b91d7350800a3bf316d Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 15 Feb 2022 15:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9Cfilebaet=5Film=5Fenabled?= =?UTF-8?q?=E8=A2=AB=E8=AE=BE=E7=BD=AE=E4=B8=BAfalse=E5=88=99=E7=A6=81?= =?UTF-8?q?=E6=AD=A2ilm=EF=BC=8C=E8=BF=99=E6=98=AF=E4=B8=BA=E4=BA=86?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E5=8D=8E=E4=B8=BA=E4=BA=91=E7=9A=84ES?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/templates/filebeat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/filebeat/templates/filebeat.yml b/playbooks/roles/filebeat/templates/filebeat.yml index ff1b972..17c703a 100644 --- a/playbooks/roles/filebeat/templates/filebeat.yml +++ b/playbooks/roles/filebeat/templates/filebeat.yml @@ -41,7 +41,7 @@ filebeat.config.modules: # ======================= Elasticsearch template setting ======================= #[#1002043] 通过强制filebeat注册ilm策略方式,修订意外丢失的ilm策略 -setup.ilm.enabled: true +setup.ilm.enabled: {{ logs[log_type]['filebaet_ilm_enabled'] | default true }} setup.ilm.policy_name: "{{ logs[log_type]['setup_ilm_policy_name'] | default('gw-nginx-ug10') }}" setup.ilm.check_exists: true