更新 filebeat monitor 到 v0.3 740a7fbe5f #39

Merged
pengln merged 1 commits from pengln/filebeat:master into master 2021-12-21 15:10:35 +08:00
2 changed files with 5 additions and 12 deletions
Showing only changes of commit 446b05748f - Show all commits

View File

@ -1,14 +1,7 @@
project_id: {{ instance_name }} project: {{ instance_name }}
sublog: {{ log_type }} sublog: {{ log_type }}
elastic_hosts: {{ filebeat_logs[log_type]['es_hosts'] }} filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }}
elastic_indice_name: {{ filebeat_logs[log_type]['index_prefix'] }}-{{ instance_name }}-* metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }}
{% if filebeat_logs[log_type]['es_user'] and filebeat_logs[log_type]['es_passwd'] -%} push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}
elastic_username: {{ filebeat_logs[log_type]['es_user'] }} push_gateway_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }}
elastic_password: {{ filebeat_logs[log_type]['es_passwd'] }}
{% endif -%}
elastic_search_lifecycle: {{ filebeat_monitor_lifecycle | default(30) }}
http_unix_sock: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }}
prometheus_push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}
prometheus_push_gateway_job: {{ filebeat_monitor_push_job | default('filebeat') }}
prometheus_push_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }}
log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }} log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }}