Is there any way to make rsyslog change the filename when it's done writing to it?

Our current strategy is to dynamically create files (using omfile and DynaFile with date/time).

The obvious solution is to look whether the file is old enough (compare the date/time in filename to current time).

Is there a better solution? Ideally I would have rsyslog rename the file once it's done with it.

Using logrotate would not work in our case, we need the date/time (and other information) in the filename, it is used as S3 key.

  thanks!

        erik
_______________________________________________
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