Can the imptcp and imudp inputs share the same inputname?
Thinking of using the different IPs with same port numbers for
listener pairs imptcp+imudp. Need to process messages based on it. One
input pair (tcp+udp) will use lookup table, the other one the static
variable assignment.
Would like to use this config snippet:
if ($inputname == 'bo') then {
set $.location = lookup("location", $fromhost-ip);
} else {
set $.location = $inputname;
}
Peter
_______________________________________________
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.