The discussion has moved further, but I'd like to say that the ability to delete or move a file after certain period of inactivity sounds like a good-to-have feature to me. It may even not be much work (maybe something Pascal could work on in q1/q2 of 2016). So possibly something worth an enhancement PR. But it won't be prioprity from my side.
Rainer 2016-12-21 19:34 GMT+01:00 mostolog--- via rsyslog < [email protected]>: > 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. > _______________________________________________ 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.

