Browse Source

Merge pull request #14 from elemoine/stacklight-hostname

Set "hostname" in the linux_hdd_errors|counters filters
tags/2016.12
Aleš Komárek 8 years ago
parent
commit
f86e15a9bb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      linux/meta/heka.yml

+ 2
- 0
linux/meta/heka.yml View File

@@ -26,6 +26,7 @@ log_collector:
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 @@ log_collector:
config:
interval: 60
grace_interval: 30
hostname: '{{ grains.host }}'
metric_collector:
filter: {}

Loading…
Cancel
Save