The $TRANSPORT macro of syslog-ng
Do you want to know how your log messages arrived to syslog-ng? The new $TRANSPORT macro provides you with part of the answer. It shows you the protocol variant for network sources, or the kind of local source used.
Read more at https://www.syslog-ng.com/community/b/blog/posts/the-transport-macro-of-syslog-ng