you can use it like *.* action action(type="omrelp" template= "msgonly" target="172.20.16.81" port="520")
zeshan On Tue, Sep 30, 2014 at 12:45 PM, Muhammad Asif <[email protected]> wrote: > Hi Rsyslog Geeks, > > I want to know how to use template with new action method. > > $template msgonly,"%rawmsg%\n" > > *.* :omrelp:127.0.0.1:520;msgonly This is fine. > action(type="omrelp" target="172.20.16.81" port="520") But how to use > in this way > > > Regards > M.Asif > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

