Use more robust logstreamer file match
Change-Id: I759057e8e80f0b27f94a2454f1c3e597a1907ae6
diff --git a/neutron/meta/heka.yml b/neutron/meta/heka.yml
index 7485b31..57ae158 100644
--- a/neutron/meta/heka.yml
+++ b/neutron/meta/heka.yml
@@ -11,8 +11,8 @@
input:
neutron_log:
engine: logstreamer
- log_directory: "/var/log/neutron"
- file_match: '(?P<Service>(dhcp-agent|l3-agent|metadata-agent|neutron-netns-cleanup|openvswitch-agent|server))\.log\.?(?P<Seq>\d*)$'
+ log_directory: "/var/log"
+ file_match: 'neutron/(?P<Service>(dhcp-agent|l3-agent|metadata-agent|neutron-netns-cleanup|openvswitch-agent|server))\.log\.?(?P<Seq>\d*)$'
differentiator: ['neutron', '_', 'Service']
priority: ["^Seq"]
decoder: "neutron_decoder"