Merge pull request #12 from thouveng/fix-dash
Fix the name of the Grafana dashboard
diff --git a/galera/meta/heka.yml b/galera/meta/heka.yml
new file mode 100644
index 0000000..fbbb36e
--- /dev/null
+++ b/galera/meta/heka.yml
@@ -0,0 +1,20 @@
+log_collector:
+ decoder:
+ galera:
+ engine: sandbox
+ module_file: /usr/share/lma_collector/decoders/galera.lua
+ module_dir: /usr/share/lma_collector/common;/usr/share/heka/lua_modules
+ adjust_timezone: true
+ input:
+ galera:
+ engine: logstreamer
+ log_directory: "/var/log"
+ file_match: 'mysql/error.log$'
+ differentiator: ["galera"]
+ decoder: "galera_decoder"
+ splitter: "galera_splitter"
+ splitter:
+ galera:
+ engine: regex
+ delimiter: '\n([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2})'
+ delimiter_eol: false
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index 9da35f9..937f8d0 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -4,7 +4,7 @@
collectd:
enabled: true
heka:
- enabled: false
+ enabled: true
sensu:
enabled: true
sphinx: