HI,
I am trying to parameterize an action in rsyslog.conf, but I can't seem to
get the configuration right. For example, I am trying to do something
that looks like:
$.server = "1.2.3.4";
....
action(type="omfwd" Target=$.server Port="514" Protocol="tcp"
template="MyTemplate")
But rsyslog is complaining that the '$' an '.' are invalid characters in
the object definition.
I've been searching but cannot find the right syntax. So what IS the
right syntax to do this?
Thanks,
-derek
--
Derek Atkins 617-623-3745
derek@ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
_______________________________________________
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.
I am trying to parameterize an action in rsyslog.conf, but I can't seem to
get the configuration right. For example, I am trying to do something
that looks like:
$.server = "1.2.3.4";
....
action(type="omfwd" Target=$.server Port="514" Protocol="tcp"
template="MyTemplate")
But rsyslog is complaining that the '$' an '.' are invalid characters in
the object definition.
I've been searching but cannot find the right syntax. So what IS the
right syntax to do this?
Thanks,
-derek
--
Derek Atkins 617-623-3745
derek@ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
_______________________________________________
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.