diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-03-23 12:36:44 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-03-23 12:36:44 +0000 |
| commit | 73f55d3d6f71b7fd15f1a72af3fa33643737af8b (patch) | |
| tree | bb02a9757a8b54870b6ee72e78bdb3d4c83a906b | |
| parent | a3a43e7b926f716daed24156d3db64ee5f9846e3 (diff) | |
| parent | 8307b06a46b77f8b57a65b2eb74d797e5b794ca6 (diff) | |
| download | kolla-73f55d3d6f71b7fd15f1a72af3fa33643737af8b.tar.gz kolla-73f55d3d6f71b7fd15f1a72af3fa33643737af8b.zip | |
Merge "Swift busted with Heka"
| -rw-r--r-- | ansible/roles/common/templates/heka-swift.toml.j2 | 6 |
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" |
