There is a lot of history in rsyslog. If a directive exists in one module but not the other, it was probably implemented for a specific use case. And not carried over. We try to avoid this, but often it makes sense (especially when experimenting, contributions, etc.).
That said, I'll look what it takes to do the input param for imtcp. Rainer El lun, 22 ago 2022 a las 17:00, John Chivian via rsyslog (<rsyslog@lists.adiscon.com>) escribió: > > My bad. On further examination the NotifyOnConnectionOpen does not exist for > the imtcp module. The confusion comes from the fact that > NotifyOnConnectionClose is both a Module and an Input parameter for imtcp. > > But I repeat the question, can NotifyOnConnectionOpen be made an Input > parameter for imtcp? > > Thanks, > > > On Aug 22, 2022, at 08:25, John Chivian via rsyslog > > <rsyslog@lists.adiscon.com> wrote: > > > > Hello Experts: > > > > I am hoping that someone can explain why NotifyOnConnectionOpen is a > > Module parameter for imtcp, but an Input parameter for imptcp? This is in > > contrast to the NotifyOnConnectionClose which is an Input parameter in both > > cases. > > > > Can NotifyOnConnectionOpen also be made an Input parameter for imtcp? It > > would really help for consistency. > > > > Regards, > > _______________________________________________ > > 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. _______________________________________________ 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.