The versioned bucket market-logs-1ovlxoa collects the shop's access logs under access/. A colleague drafted a rule in ~/lifecycle.json, and it does not do what finance asked:
- logs under
access/move to Standard-IA after 30 days and to Glacier after 90, - and are deleted after 400 days,
- and old versions of any log are deleted 14 days after they are replaced.
-
Read the draft and fix it:
shcat ~/lifecycle.json -
Put it on the bucket, then read the bucket's lifecycle back.