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

config: config:
grace_interval: 10 grace_interval: 10
patterns: "/error%s.+([sv]d[a-z][a-z]?)%d?/ /([sv]d[a-z][a-z]?)%d?.+%serror/" patterns: "/error%s.+([sv]d[a-z][a-z]?)%d?/ /([sv]d[a-z][a-z]?)%d?.+%serror/"
hostname: '{{ grains.host }}'
linux_logs_counter: linux_logs_counter:
engine: sandbox engine: sandbox
module_file: /usr/share/lma_collector/filters/logs_counter.lua module_file: /usr/share/lma_collector/filters/logs_counter.lua
config: config:
interval: 60 interval: 60
grace_interval: 30 grace_interval: 30
hostname: '{{ grains.host }}'
metric_collector: metric_collector:
filter: {} filter: {}

Loading…
Cancel
Save