| module( load="builtin:omfile" template="LELogFormat" ) | |
| template( name="LELogFormat" type="list" ) { | |
| property(name="timereported" dateFormat="rfc3339") | |
| constant(value=" ") | |
| property(name="hostname" field.delimiter="46" field.number="1") | |
| constant(value=" datacenter ") | |
| property(name="syslogseverity") | |
| constant(value=" ") | |
| property(name="syslogtag") | |
| property(name="msg" spifno1stsp="on" ) | |
| property(name="msg" droplastlf="on" ) | |
| constant(value="\n") | |
| } | |
| template( name="TmplAll" type="string" string="/var/log/%PROGRAMNAME%.log" ) | |
| action( type="omfile" dynaFile="TmplAll" ) |