增加instanceName为主机名 #44

Merged
pengln merged 1 commits from pengln/filebeat:master into master 2021-12-22 15:12:43 +08:00
2 changed files with 1 additions and 0 deletions
Showing only changes of commit 360c5087af - Show all commits

View File

@ -1,3 +1,4 @@
instance_name: {{ inventory_hostname }}
project: {{ instance_name }} project: {{ instance_name }}
sublog: {{ 'quick' if log_type == 'quick' else '' }} sublog: {{ 'quick' if log_type == 'quick' else '' }}
filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }} filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }}