3fca4ccbaf
Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
15 lines
512 B
Django/Jinja
15 lines
512 B
Django/Jinja
# HAProxy and Keepalived write their logs to Syslog, so the generic
|
|
# Syslog input set in heka-global.toml.j2 is used.
|
|
|
|
[haproxy_file_output]
|
|
type = "FileOutput"
|
|
message_matcher = "Type == 'Syslog' && Fields[programname] =~ /(?i:haproxy)/"
|
|
path = "/var/log/kolla/haproxy/haproxy.log"
|
|
encoder = "syslog_encoder"
|
|
|
|
[keepalived_file_output]
|
|
type = "FileOutput"
|
|
message_matcher = "Type == 'Syslog' && Fields[programname] =~ /(?i:keepalived)/"
|
|
path = "/var/log/kolla/haproxy/keepalived.log"
|
|
encoder = "syslog_encoder"
|