kolla-ansible/ansible/roles/common/templates/heka-panko.toml.j2
zhubingbing 3e7ed2c42c add panko role
Change-Id: I515fdcdf6093e9e59dbbdc97221d23ed7f4e0a3d
Partially-Implements: blueprint add-panko-ansible-role
2016-12-15 08:01:50 +00:00

14 lines
521 B
Django/Jinja

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