Merge pull request '增加instanceName为主机名' (#44) from pengln/filebeat:master into master

Reviewed-on: https://app.huanyuantech.com:10301/gitea/ansible-collection/filebeat/pulls/44
This commit is contained in:
pengln 2021-12-22 15:12:43 +08:00
commit f8b8f01d3b
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') }}