Browse Source

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

Add timezone support for system logs
tags/2016.12
Éric Lemoine 8 years ago
parent
commit
8eb141d123
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/meta/heka.yml

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

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

Loading…
Cancel
Save