如果filebaet_ilm_enabled被设置为false则禁止ilm,这是为了兼容华为云的ES
This commit is contained in:
parent
0455b1d144
commit
f6c876d064
|
@ -40,7 +40,8 @@ filebeat.config.modules:
|
|||
reload.enabled: false
|
||||
|
||||
# ======================= Elasticsearch template setting =======================
|
||||
#[#1002043] 通过强制filebeat注册ilm策略方式,修订意外丢失的ilm策略
|
||||
#[#1002043] 通过强制filebeat注册ilm策略方式,修订意外丢失的ilm策略。
|
||||
#如果filebaet_ilm_enabled被设置为false则禁止ilm,这是为了兼容华为云的ES
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue