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