Explorar el Código

Add support for log_collector

tags/2016.12
Simon Pasquier hace 8 años
padre
commit
07f0942f2c
Se han modificado 2 ficheros con 21 adiciones y 1 borrados
  1. +20
    -0
      galera/meta/heka.yml
  2. +1
    -1
      metadata/service/support.yml

+ 20
- 0
galera/meta/heka.yml Ver fichero

@@ -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

+ 1
- 1
metadata/service/support.yml Ver fichero

@@ -4,7 +4,7 @@ parameters:
collectd:
enabled: true
heka:
enabled: false
enabled: true
sensu:
enabled: true
sphinx:

Cargando…
Cancelar
Guardar