Ver código fonte

Merge pull request #27 from simonpasquier/add-tz-support

Add timezone support for system logs
tags/2016.12
Éric Lemoine 8 anos atrás
pai
commit
8eb141d123
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      linux/meta/heka.yml

+ 2
- 2
linux/meta/heka.yml Ver arquivo

@@ -4,9 +4,9 @@ log_collector:
engine: sandbox
module_file: /usr/share/lma_collector/decoders/generic_syslog.lua
module_dir: /usr/share/lma_collector/common;/usr/share/heka/lua_modules
adjust_timezone: true
config:
syslog_pattern: '<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg%\n'
fallback_syslog_pattern: '%TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg%\n'
syslog_pattern: '%TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg%\n'
input:
linux_log_stream:
engine: logstreamer

Carregando…
Cancelar
Salvar