Merge pull request #14 from elemoine/stacklight-hostname
Set "hostname" in the linux_hdd_errors|counters filters
diff --git a/linux/meta/heka.yml b/linux/meta/heka.yml
index 718ab4f..9332791 100644
--- a/linux/meta/heka.yml
+++ b/linux/meta/heka.yml
@@ -26,6 +26,7 @@
config:
grace_interval: 10
patterns: "/error%s.+([sv]d[a-z][a-z]?)%d?/ /([sv]d[a-z][a-z]?)%d?.+%serror/"
+ hostname: '{{ grains.host }}'
linux_logs_counter:
engine: sandbox
module_file: /usr/share/lma_collector/filters/logs_counter.lua
@@ -36,5 +37,6 @@
config:
interval: 60
grace_interval: 30
+ hostname: '{{ grains.host }}'
metric_collector:
filter: {}