Apologies in advance, I'm not sure I entirely grok your question- I'd looks at:
The literal syslog RFC: https://datatracker.ietf.org/doc/html/rfc5424
A new intereshttps://github.com/open-telemetryting (to me) project, OpenTelemetry: https://github.com/open-telemetry