Use the advanced configuration syntax. See https://www.rsyslog.com/doc/v8-stable/configuration/conf_formats.html#which-format-should-i-use
On Wed, May 6, 2020, 07:09 Fourhundred Thecat via rsyslog < [email protected]> wrote: > Hello, > > I am using "ActionOMProgBinary" in my /etc/rsyslog.conf > > ... > $ActionOMProgBinary /usr/local/sbin/blacklist.py > ... > mail.* :omprog: > ... > > Now I actually need to define 2 different binaries, and call one for > mail.* and the other for auth.* > > How could I do this ? > > I am using rsyslog 8.1901 on Debian. > > thanks, > > > _______________________________________________ > 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. > _______________________________________________ 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.

