Configuration with lines:
# set local variables
set $.localip = "1.1.1.1";
set $.host = $myhostname;
seems not be working. Getting these errors.
Jul 23 14:25:41 HOST-LOCO rsyslogd[6024]: rsyslogd: error during parsing
file /etc/rsyslog.d/global/09-variables.conf, on or before line 3: invalid
property 'myhostname' [v8.1901.0 try https://www.rsyslog.com/e/2207 ]
Jul 23 14:25:41 HOST-LOCO rsyslogd[6024]: rsyslogd: error during parsing
file /etc/rsyslog.d/global/09-variables.conf, on or before line 3: did you
mean '$myhostname' instead of 'myhostname'? See also:
https://www.rsyslog.com/rsyslog-info-1/ [v8.1901.0 try
https://www.rsyslog.com/e/2207 ]
Running rsyslog version 8.1901.0-1 on clean Debian 10 installation.
What's wrong here?
--
Peter
_______________________________________________
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.
# set local variables
set $.localip = "1.1.1.1";
set $.host = $myhostname;
seems not be working. Getting these errors.
Jul 23 14:25:41 HOST-LOCO rsyslogd[6024]: rsyslogd: error during parsing
file /etc/rsyslog.d/global/09-variables.conf, on or before line 3: invalid
property 'myhostname' [v8.1901.0 try https://www.rsyslog.com/e/2207 ]
Jul 23 14:25:41 HOST-LOCO rsyslogd[6024]: rsyslogd: error during parsing
file /etc/rsyslog.d/global/09-variables.conf, on or before line 3: did you
mean '$myhostname' instead of 'myhostname'? See also:
https://www.rsyslog.com/rsyslog-info-1/ [v8.1901.0 try
https://www.rsyslog.com/e/2207 ]
Running rsyslog version 8.1901.0-1 on clean Debian 10 installation.
What's wrong here?
--
Peter
_______________________________________________
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.