Fix heka.toml
Change-Id: I8380eaca9f485a65d6806c3dd1f6fb83d9914d59
diff --git a/nova/files/heka.toml b/nova/files/heka.toml
index e15af73..ebbc8e6 100644
--- a/nova/files/heka.toml
+++ b/nova/files/heka.toml
@@ -1,10 +1,11 @@
[logstreamer_nova]
type = "LogstreamerInput"
log_directory = "/var/log/nova"
-file_match = '(?P<Service>.+)\.log\.?(?P<Seq>\d*)$'
+file_match = '(?P<Service>.+)\.log\.?(?P<Index>\d*)?(.gz)?'
differentiator = ['nova','_','Service']
priority = ["^Index"]
decoder = "openstack"
+oldest_duration = "168h"
[openstack]
type = "SandboxDecoder"