kolla-ansible/ansible/roles/common/templates/heka-ceilometer.toml.j2
Javier Castillo Alcíbar 31eac33ddb Fix ceilometer not sending logs to heka
ceilometer is not sending logs to heka because no heka-ceilometer.toml is created.
Updated templates files.

Change-Id: I69f3d93377c6c51d22f37ed120800f7489f5a8a0
Closes-Bug: #1642665
2016-11-22 09:08:38 +01:00

14 lines
525 B
Django/Jinja

[ceilometer_apache_log_decoder]
type = "SandboxDecoder"
filename = "lua_decoders/os_ceilometer_apache_log.lua"
[ceilometer_apache_log_decoder.config]
apache_log_pattern = '%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"'
[ceilometer_apache_logstreamer_input]
type = "LogstreamerInput"
decoder = "ceilometer_apache_log_decoder"
log_directory = "/var/log/kolla"
file_match = 'ceilometer/(?P<Service>ceilometer-.*)\.log\.?(?P<Seq>\d*)$'
priority = ["^Seq"]
differentiator = ["Service"]