aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/common/templates/heka-swift.toml.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/roles/common/templates/heka-swift.toml.j2 b/ansible/roles/common/templates/heka-swift.toml.j2
index 2bd9443f3..c70b1631d 100644
--- a/ansible/roles/common/templates/heka-swift.toml.j2
+++ b/ansible/roles/common/templates/heka-swift.toml.j2
@@ -1,9 +1,9 @@
# Swift writes its logs to Syslog, so the generic Syslog input set in
# heka-global.toml.j2 is used.
-[{{ item }}_file_output]
+[{{ item.name }}_file_output]
type = "FileOutput"
-message_matcher = "Fields[programname] == '{{ item }}'"
-path = "/var/log/kolla/swift/{{ item }}.log"
+message_matcher = "Fields[programname] == '{{ item.name }}'"
+path = "/var/log/kolla/swift/{{ item.name }}.log"
encoder = "syslog_encoder"
folder_perm = "755"