Abstract
The approach is simple: shove client side logs at stunnel, stunnel does its thing, server reads and filters logs. After all is said and configured, your loghost and client will contain all logs.
A diagram
Client side
These are configs for stunnel v.4 (Debian: stunnel4, Gentoo: stunnel), and syslog-ng
/etc/services
Decide what ports you want these services to run on.
Port choices are arbitrary
/etc/stunnel/stunnel.conf
Be sure that /var/run/stunnel is writable by nobody:nogroup
/etc/syslog-ng/syslog-ng.conf
Append this to the end of your existing conf.
You client is now 100% configured.
Server Side.
This will not cover filtering or layout.
/etc/services
This should match your choices from the client services
/etc/stunnel/stunnel.conf
Cert creation help here
/etc/syslog-ng/syslog-ng.conf
Add a new source entry
Then fillter/log this source to your hearts desire
Testing it all.
On a client run:
Then on server run: