template(name="nuzzlelog_list" type="list") { property(name="timereported" dateFormat="year") constant(value="-") property(name="timereported" dateFormat="month") constant(value="-") property(name="timereported" dateFormat="day") constant(value=" ") property(name="timereported" dateFormat="hour") constant(value=":") property(name="timereported" dateFormat="minute") constant(value=":") property(name="timereported" dateFormat="second") constant(value=" ") property(name="hostname") constant(value=" ") property(name="app-name") constant(value=":") property(name="msg" spifno1stsp="on" ) # add space if $msg doesn't start with one property(name="msg" droplastlf="on" ) # remove trailing \n from $msg if there is one constant(value="\n") } if $programname == 'nuzzle' then /var/log/nuzzle.log;nuzzlelog_list & stop