Compare commits

..

No commits in common. "ecde47fd8e1a7389739fd022cc6c451d50b52251" and "0311229869b745d0302bb1912a47c89d167f3bdc" have entirely different histories.

2 changed files with 12 additions and 5 deletions

View File

@ -1,7 +1,14 @@
project: {{ instance_name }}
project_id: {{ instance_name }}
sublog: {{ log_type }}
filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }}
metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }}
push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}
push_gateway_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }}
elastic_hosts: {{ filebeat_logs[log_type]['es_hosts'] }}
elastic_indice_name: {{ filebeat_logs[log_type]['index_prefix'] }}-{{ instance_name }}-*
{% if filebeat_logs[log_type]['es_user'] and filebeat_logs[log_type]['es_passwd'] -%}
elastic_username: {{ filebeat_logs[log_type]['es_user'] }}
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') }}