@type copy
@type file
path /var/log/kolla/swift/swift_latest.*.log
utc
append true
compress gzip
{% if enable_elasticsearch | bool or
elasticsearch_address != kolla_internal_vip_address %}
type elasticsearch
host {{ elasticsearch_address }}
port {{ elasticsearch_port }}
logstash_format true
logstash_prefix {{ kibana_log_prefix }}
flush_interval 15s
{% endif %}
@type copy
@type file
path /var/log/kolla/haproxy/haproxy_latest.*.log
output_tag false
output_time false
utc
append true
compress gzip
{% if enable_elasticsearch | bool or
elasticsearch_address != kolla_internal_vip_address %}
type elasticsearch
host {{ elasticsearch_address }}
port {{ elasticsearch_port }}
logstash_format true
logstash_prefix {{ kibana_log_prefix }}
flush_interval 15s
{% endif %}