瀏覽代碼

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

Add timezone support for system logs
tags/2016.12
Éric Lemoine 8 年之前
父節點
當前提交
8eb141d123
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      linux/meta/heka.yml

+ 2
- 2
linux/meta/heka.yml 查看文件

@@ -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…
取消
儲存