Use more robust logstreamer file match

Change-Id: I03d2ca55649f00eb44c72d0c6282de0192e9004a
This commit is contained in:
Éric Lemoine 2016-11-03 11:00:34 +00:00
parent 23240fe293
commit 887105d4bb
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ log_collector:
input:
keystone_log:
engine: logstreamer
log_directory: "/var/log/keystone"
file_match: '(?P<Service>.+)\.log\.?(?P<Seq>\d*)$'
log_directory: "/var/log"
file_match: 'keystone/(?P<Service>.+)\.log\.?(?P<Seq>\d*)$'
differentiator: ['keystone', '_', 'Service']
priority: ["^Seq"]
decoder: "keystone_decoder"