Browse Source

Add timezone support for system logs

tags/2016.12
Simon Pasquier 8 years ago
parent
commit
e877605126
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      linux/meta/heka.yml

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

@@ -4,6 +4,7 @@ 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'

Loading…
Cancel
Save