Skip to content

Commit ff06bcb

Browse files
author
Christopher M. Neill
committed
Wrong. syslogtagid no exist. Also, %msg%
1 parent 486bc80 commit ff06bcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/roles/loggly/templates/21-output-syslog.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ if $syslogtag contains '{{ name }}' and $syslogfacility-text == 'local7' then {
77

88
# Loggly: Add a tag for {{ name }} events
99
$ActionQueueType LinkedList
10-
$template LogglyFormat_{{ name }},"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %syslogtagid% [{{ loggly_token }}@41058 tag=\"runnable\" tag=\"{{ node_env }}\"] %syslogtag%\n"
10+
$template LogglyFormat_{{ name }},"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %syslogtag% [{{ loggly_token }}@41058 tag=\"runnable\" tag=\"{{ node_env }}\"] %msg%\n"
1111
if $syslogtag contains '{{ name }}' and $syslogfacility-text == 'local7' then @@logs-01.loggly.com:6514;LogglyFormat_{{ name }}
1212
if $syslogtag contains '{{ name }}' and $syslogfacility-text == 'local7' then stop

0 commit comments

Comments
 (0)