Hi,
I'm trying to use the fromhost in a ruleset to do a filtering on the reception
but it appears that doesn't work when I have fromhost-ip as well. I have check
with debug mode and... nothing interesting. Any ideas?
Rsyslog ver: 7.6.7
if $fromhost-ip == ["192.168.0.1",
"10.0.2.2"]
or $fromhost == ["server1.example.com",
"server2.example.com"]
then {
action=bla bla}
stop
Regards,
Alexandros
This message (including any attachments) may contain confidential information.
It is intended for use by the recipient only. Any dissemination, copying or
distribution to third parties without the express consent of the sender is
strictly prohibited. If you have received this message in error, please delete
it immediately and notify the sender. Thank you for your collaboration.
_______________________________________________
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.