Browse Source

Fix Syslog pattern for system logs

Currently Syslog doesn't log the priority ('<PRI>').
tags/2016.12
Simon Pasquier 8 years ago
parent
commit
8db94b38f4
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      linux/meta/heka.yml

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

@@ -6,8 +6,7 @@ log_collector:
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