aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/common/templates/heka-horizon.toml.j24
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"]