增加instanceName为主机名

This commit is contained in:
pengln 2021-12-22 15:11:49 +08:00
parent 69e671eaab
commit 360c5087af
2 changed files with 1 additions and 0 deletions

View File

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