kolla-ansible/ansible/roles/common/templates/heka-openstack.toml.j2
zhubingbing b46d625b52 add sahara log in heka
Closes-Bug: #1631286

Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
2016-10-07 13:18:03 +00:00

12 lines
449 B
Django/Jinja

[openstack_log_decoder]
type = "SandboxDecoder"
filename = "lua_decoders/os_openstack_log.lua"
[openstack_logstreamer_input]
type = "LogstreamerInput"
decoder = "openstack_log_decoder"
log_directory = "/var/log/kolla"
file_match = '(?P<Service>cloudkitty|nova|glance|keystone|neutron|ceph|cinder|heat|murano|magnum|mistral|manila|senlin|sahara)/(?P<Program>.*)\.log\.?(?P<Seq>\d*)$'
priority = ["^Seq"]
differentiator = ["Service", "_", "Program"]