[syslog-ng] log drop-and-delete directory
Nik Ambrosch
nik at ambrosch.com
Fri Oct 12 15:55:27 UTC 2018
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20181012/41f7f21b/attachment.html>
More information about the syslog-ng
mailing list