Hi

I want to change the default template used by omfwd to RSYSLOG_ForwardFormat. I 
found in the doc* the following directive which is not working for either v8 or 
v5 versions


$ActionForwardDefaultTemplateName

It would give me

"rsyslogd: invalid or yet-unknown config file command 
'ActionForwardDefaultTemplateName' - have you forgotten to load a module?"

I noticed that default template for omfile is declared as:

$ActionFileDefaultTemplate

So i changed the syntax for omfwd to the one below, which did work:

Is $ActionFileDefaultTemplateName  a documentation typo?


I am aware I can set the template to use on the omfwd action, but i was looking 
for a "global" solution.


Thanks
Dimi



https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html
[https://www.rsyslog.com/files/2018/02/rsyslog-logo-512x512.png]<https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html>
RSyslog Documentation - 
rsyslog<https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html>
www.rsyslog.com







  *   https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html
[https://www.rsyslog.com/files/2018/02/rsyslog-logo-512x512.png]<https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html>
RSyslog Documentation - 
rsyslog<https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html>
www.rsyslog.com


_______________________________________________
rsyslog mailing list
https://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.

Reply via email to