8307b06a46
Swift and heka were broken by an optimization that resulted in a regression in commit: 0a1486a2c73275009f7158c911e7bfd683e40a58 This patch fixes that problem. Change-Id: I02c6cf4de4f807c3ec66e2d4f59f182d0b864ea3 Closes-Bug: #1560788
10 lines
310 B
Django/Jinja
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"
|