add sahara log in heka

Closes-Bug: #1631286

Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
This commit is contained in:
zhubingbing 2016-10-07 08:05:23 +00:00
parent 622c88ec99
commit b46d625b52
3 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,3 @@
"/var/log/kolla/sahara/*.log"
{
}

View File

@ -19,6 +19,7 @@
( 'neutron', enable_neutron ),
( 'nova', enable_nova ),
( 'rabbitmq', enable_rabbitmq ),
( 'sahara', enable_sahara ),
( 'senlin', enable_senlin ),
( 'swift', enable_swift )
] %}

View File

@ -6,6 +6,6 @@ filename = "lua_decoders/os_openstack_log.lua"
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)/(?P<Program>.*)\.log\.?(?P<Seq>\d*)$'
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"]