kolla-ansible/ansible/roles/common/templates/heka-swift.toml.j2
Steven Dake 8307b06a46 Swift busted with Heka
Swift and heka were broken by an optimization that resulted in
a regression in commit:
0a1486a2c7

This patch fixes that problem.

Change-Id: I02c6cf4de4f807c3ec66e2d4f59f182d0b864ea3
Closes-Bug: #1560788
2016-03-23 02:08:29 -04:00

10 lines
310 B
Django/Jinja

# Swift writes its logs to Syslog, so the generic Syslog input set in
# heka-global.toml.j2 is used.
[{{ item.name }}_file_output]
type = "FileOutput"
message_matcher = "Fields[programname] == '{{ item.name }}'"
path = "/var/log/kolla/swift/{{ item.name }}.log"
encoder = "syslog_encoder"
folder_perm = "755"