https://vyos.dev/T2938 didn’t implement RFC5424 correctly.
The bug is about not sending timezone in logs to remote log collector.
Right now octet additionally set RFC5424, but only and only while protocol is set to TCP and port is set. Default port doesn’t make it work. There are if conditions in code conf-mode: T2938: Add format octet-counted for syslog by sever-sever · Pull Request #573 · vyos/vyos-1x · GitHub
This has huge impact on collecting and browsing logs. While there is no time zone set, then systems collecting logs assume UTC-0 or even worst they own local time zone. In consequence if your local timezone is to the right of globe from UTC-0 all data are in the future and you will never see them with “last hour” etc. People in US would suffer for issue like it is 3 hours ago but should be 1 ago. But while you have UTC+N, then you get data from the future.
How to fix:
There should be option to set format RFC5424
without octet by set system syslog host X.X.X.X format rfc5424
or rather it should be default format for remote.
It should work for both TCP / UDP and also with default ports.