Can I use syslog-ng to mirror all log files onto a remote server without specifying every file? Both are running syslog-ng OSE version 3.5.2. The file("/var/log/*") setting seems promising, but it does not appear to recurse, and reconstituting the file names on the other side of a syslog() source seems daunting.
Should I give up on this and do some sort of scripting or use rsync or something else entirely?
The source is essentially an embedded Linux computer with limited flash storage and the others is pretty hefty. They are connected to the same fast switch at 1GB. It is not OK for the embedded Linux to crash without having already sent most of its logs over, so some sort of continuous update would seem appropriate.