fix can't collect horizon log in heka

Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19
Closes-Bug: #1631048
This commit is contained in:
zhubingbing 2016-10-06 16:13:16 +00:00 committed by Jeffrey Zhang
parent b58147bcc0
commit e4e842be40

View File

@ -8,6 +8,6 @@ filename = "lua_decoders/os_horizon_apache_log.lua"
type = "LogstreamerInput"
decoder = "horizon_apache_log_decoder"
log_directory = "/var/log/kolla"
file_match = 'horizon/horizon-apache-(?P<Service>.+)-access\.log\.?(?P<Seq>\d*)$'
file_match = 'horizon/(?P<Service>horizon.*)\.log\.?(?P<Seq>\d*)$'
priority = ["^Seq"]
differentiator = ["horizon-apache-", "Service"]
differentiator = ["Service"]