Looking to create a drop-off directory that syslog-ng handles instead of needing to execute in a separate script.. flow would go something like this:
1) mv file.log /syslog-tmp/
2) syslog-ng reads /syslog-tmp/file.log
3) syslog-ng deletes /syslog-tmp/file.log when done consuming
Sounds simple but I can't seem to figure out a good way to do this. The other option is to read file with a script, send out with logger (or whatever), and hope that syslog-ng is running & healthy.
Thanks.