Hi

To contextualize:

A server is generating multiple log files and sending them using RELP to a Rsyslog relay. I would love to automatically delete older logs files if they are already sent/acknowledged.


Is there a way to make Rsyslog delete a file after successfully sending it via RELP? (and not modified in the last...day?)

Is there an easy way to know, outside from Rsyslog, if a file has already been processed/sent, in order to delete the local file?

Maybe an script which gets "reading offset" from state file and compares with file size...


Regards




_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to