kolla-ansible/ansible/roles/common/templates/heka-aodh.toml.j2
zhubingbing 7ce05f9782 Add aodh role
Partially-Implements: blueprint ansible-aodh

Change-Id: I9e20f4bf5e7d8f37f243ae15746e2b7bb49eb20c
2016-08-31 03:54:35 +00:00

14 lines
513 B
Django/Jinja

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