This is strange. No,everything is supported, we never remove any
config capability without very, very strong reason. Plus, the "if" is
not BSD-Style but script, the most modern filter.

Which version is running on RHEL 8?
How does the full config look like?
What does rsyslogd -N1 split out?

Rainer

El jue, 4 may 2023 a las 11:29, Brad Van Orden via rsyslog
(<rsyslog@lists.adiscon.com>) escribió:
>
> On RHEL 7, I have a filter:
>
> if $programname == "systemd" and ( $msg contains "Starting Session" or $msg
> contains "Started Session" ) then stop
>
> which works fine.  However under RHEL 8, I get
>
> invalid property 'programname'
>
> I think this is because BSD type filters are no longer supported, but I'm
> not sure how to change this to the new style.  I don't see an example of
> how to make a compound filter:
>
> :programname, isequal, "systemd" stop
>
> I'm not sure where to add the msg filters in?  Could someone point me to
> the correct documentation?
>
> 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.

Reply via email to