d3d4a933be
* add fluentd role * remove heka configure Co-Authored-By: yangzb09 <yangzb09@qq.com> Partially-Implements: blueprint add-fluentd-role Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
42 lines
932 B
Django/Jinja
42 lines
932 B
Django/Jinja
<match syslog.local0.**>
|
|
@type copy
|
|
<store>
|
|
@type file
|
|
path /var/log/kolla/swift/swift_latest.*.log
|
|
symlink_path /var/log/kolla/swift/swift_latest.log
|
|
utc
|
|
append true
|
|
compress gzip
|
|
</store>
|
|
<store>
|
|
type elasticsearch
|
|
host {{ kolla_external_vip_address }}
|
|
port {{ elasticsearch_port }}
|
|
logstash_format true
|
|
logstash_prefix flog
|
|
flush_interval 15s
|
|
</store>
|
|
</match>
|
|
|
|
<match syslog.local1.**>
|
|
@type copy
|
|
<store>
|
|
@type file
|
|
path /var/log/kolla/haproxy/haproxy_latest.*.log
|
|
symlink_path /var/log/kolla/haproxy/haproxy_latest.log
|
|
output_tag false
|
|
output_time false
|
|
utc
|
|
append true
|
|
compress gzip
|
|
</store>
|
|
<store>
|
|
type elasticsearch
|
|
host {{ kolla_external_vip_address }}
|
|
port {{ elasticsearch_port }}
|
|
logstash_format true
|
|
logstash_prefix flog
|
|
flush_interval 15s
|
|
</store>
|
|
</match>
|