diff options
| author | zhubingbing <1392607554@qq.com> | 2016-10-06 16:13:16 +0000 |
|---|---|---|
| committer | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2016-10-07 02:57:15 +0000 |
| commit | e4e842be405d3fc0c606a2314c7095a0b7265bb3 (patch) | |
| tree | 87221f1a498dac162c4cebbea23e71aca620965c /ansible | |
| parent | b58147bcc0a98f694075b9593bffced1ab63bec0 (diff) | |
| download | kolla-e4e842be405d3fc0c606a2314c7095a0b7265bb3.tar.gz kolla-e4e842be405d3fc0c606a2314c7095a0b7265bb3.zip | |
fix can't collect horizon log in heka
Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19
Closes-Bug: #1631048
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/common/templates/heka-horizon.toml.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/common/templates/heka-horizon.toml.j2 b/ansible/roles/common/templates/heka-horizon.toml.j2 index d3d4ac100..b447e9938 100644 --- a/ansible/roles/common/templates/heka-horizon.toml.j2 +++ b/ansible/roles/common/templates/heka-horizon.toml.j2 @@ -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"] |
