Compare commits
2 Commits
3d967ead59
...
3d3084dcbe
Author | SHA1 | Date |
---|---|---|
pengln | 3d3084dcbe | |
pengln | 65a5016c77 |
|
@ -43,7 +43,7 @@ output.elasticsearch:
|
||||||
index: "{{ logs[log_type]['index_prefix'] }}-{{ instance_name }}-%{[sublog]}-%{+yyyy.MM.dd}"
|
index: "{{ logs[log_type]['index_prefix'] }}-{{ instance_name }}-%{[sublog]}-%{+yyyy.MM.dd}"
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if 'pipeline' in logs[log_type] and logs[log_type]['pipeline'] -%}
|
{% if 'pipeline' in logs[log_type] and logs[log_type]['pipeline'] -%}
|
||||||
pipeline: "logs[log_type]['pipeline']"
|
pipeline: "{{ logs[log_type]['pipeline'] }}"
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if 'es_user' in logs[log_type] and 'es_passwd' in logs[log_type] -%}
|
{% if 'es_user' in logs[log_type] and 'es_passwd' in logs[log_type] -%}
|
||||||
username: {{ logs[log_type]['es_user'] | default('') }}
|
username: {{ logs[log_type]['es_user'] | default('') }}
|
||||||
|
|
Loading…
Reference in New Issue