[syslog-ng] Dynamically Generated Directory Names

Mike asurfer at iinet.net.au
Fri Jun 10 11:30:26 CEST 2011


Hello.

I was wondering if when given this file structure on a source server:

/var/log/sudo-io/xx/yy/zz/

where xx, yy and zz are dynamically strings that run from 00 to FF 
inclusive e.g.

/var/log/sudo-io/00/00/00/

/var/log/sudo-io/07/FE/90/

/var/log/sudo-io/0A/BF/D4/

/var/log/sudo-io/FF/FF/FF/

and the files that are located under each instance of 
/var/log/sudo-io/xx/yy/zz/ are:

log
stderr
stdin
stdout
timing
ttyin
ttyout

Is syslog-ng PE capable of recreating that exact same directory 
structure (including the original filenames) on the target (remote) host 
or should I perhaps just opt for rdiff or rsync instead?

Thanks,
Mike



More information about the syslog-ng mailing list