rundeck-plugins / rundeck-s3-log-plugin

Store execution logs in Amazon S3 buckets
Apache License 2.0
32 stars 26 forks source link

Provide a way to automatically remove the old execution logs, set a TTL and document the good practice #22

Open odupuy opened 7 years ago

odupuy commented 7 years ago

We use this plug-in and we accumulate a lot of execution logs in S3 (400K 1.6 GB in our dev environment).

I could set an expiration policy on the S3 bucket itself taking care of that, e.g. a one-week retention. The question is about any possible side effect for RunDeck. There is a database too (MySQL for us), is it possible that removing the files in S3 w/o updating could have an impact?

Can you document in the README the good practice in this regard? Thanks