# Run "rsyslogd -N1" for syntax check. # This can prevent /var/log/syslog writes, but journalctl still shows AER reports. if $syslogfacility-text == 'kern' and $msg contains "AER: Corrected error message received" then stop if $msg contains "AER: Corrected error message received" then stop if $msg contains "PCIe Bus Error: severity=Corrected" then stop if $msg contains "error status/mask=00000001/0000e000" then stop if $msg contains "[ 0] RxErr" then stop