Parcourir la source

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

Add timezone support for system logs
tags/2016.12
Éric Lemoine il y a 8 ans
Parent
révision
8eb141d123
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      linux/meta/heka.yml

+ 2
- 2
linux/meta/heka.yml Voir le fichier

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

Chargement…
Annuler
Enregistrer