You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[202305][rsyslog]: Remote logging with the highest rule priority (#21993)
Why I did it
This fix resolves issue with missing certain types of messages while forwarding to the remote server.
Basically, this moves remote syslog forwarding rules to be executed before any other instructions take place,
so everything received by a local syslog instance will be forwarded to the remote machine.
The fix allows remote forwarding of messages defined as:
https://github.com/sonic-net/sonic-buildimage/blob/master/files/image_config/rsyslog/rsyslog.d/00-sonic.conf.j2
Work item tracking
N/A
How I did it
Moved rsyslog remote forwarding rules to be on top of other syslog instructions
How to verify it
Enable remote syslog forwarding
Check for message patterns defined as 00-sonic.conf.j2
0 commit comments