Add support for log_collector
Change-Id: I657dec3bbd4d68606d526a606a323a86b2e443c3
diff --git a/keystone/meta/heka.yml b/keystone/meta/heka.yml
new file mode 100644
index 0000000..4dfaa7b
--- /dev/null
+++ b/keystone/meta/heka.yml
@@ -0,0 +1,19 @@
+log_collector:
+ decoder:
+ keystone:
+ engine: sandbox
+ module_file: /usr/share/lma_collector/decoders/openstack_log.lua
+ module_dir: /usr/share/lma_collector/common;/usr/share/heka/lua_modules
+ splitter:
+ keystone:
+ engine: token
+ delimiter: '\n'
+ input:
+ keystone_log:
+ engine: logstreamer
+ log_directory: "/var/log/keystone"
+ file_match: '(?P<Service>.+)\.log\.?(?P<Seq>\d*)$'
+ differentiator: ['keystone', '_', 'Service']
+ priority: ["^Seq"]
+ decoder: "keystone_decoder"
+ splitter: "keystone_splitter"