diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-08 15:16:30 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-08 15:16:30 +0000 |
| commit | 16294f0d002690c607940d2868cd15160f5d3aba (patch) | |
| tree | 9533fccfccedae2ea8cff10dbd8af0a44019f11f | |
| parent | 9a35c0e6796175eed865d1ff3406dee58d514bf2 (diff) | |
| parent | e4e842be405d3fc0c606a2314c7095a0b7265bb3 (diff) | |
| download | kolla-16294f0d002690c607940d2868cd15160f5d3aba.tar.gz kolla-16294f0d002690c607940d2868cd15160f5d3aba.zip | |
Merge "fix can't collect horizon log in heka"
| -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"] |
