紧急修复配置模板文件语法错误 #65

Merged
pengln merged 1 commits from pengln/filebeat:master into master 2022-02-15 15:55:20 +08:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit a48bfc9e1f - Show all commits

View File

@ -14,6 +14,7 @@ filebeat_output_works: 1
filebeat_gid: 1801 filebeat_gid: 1801
filebeat_uid: 1801 filebeat_uid: 1801
filebeat_older: 24h filebeat_older: 24h
filebaet_ilm_enabled: yes
filebeat_logs: filebeat_logs:
gateway: gateway:

View File

@ -42,7 +42,7 @@ filebeat.config.modules:
# ======================= Elasticsearch template setting ======================= # ======================= Elasticsearch template setting =======================
#[#1002043] 通过强制filebeat注册ilm策略方式修订意外丢失的ilm策略。 #[#1002043] 通过强制filebeat注册ilm策略方式修订意外丢失的ilm策略。
#如果filebaet_ilm_enabled被设置为false则禁止ilm这是为了兼容华为云的ES #如果filebaet_ilm_enabled被设置为false则禁止ilm这是为了兼容华为云的ES
setup.ilm.enabled: {{ logs[log_type]['filebaet_ilm_enabled'] | default true }} setup.ilm.enabled: {{ logs[log_type]['filebaet_ilm_enabled'] }}
setup.ilm.policy_name: "{{ logs[log_type]['setup_ilm_policy_name'] | default('gw-nginx-ug10') }}" setup.ilm.policy_name: "{{ logs[log_type]['setup_ilm_policy_name'] | default('gw-nginx-ug10') }}"
setup.ilm.check_exists: true setup.ilm.check_exists: true