2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi, Good question
I think you can use
put-retention-policy
--log-group-name <value>
--retention-in-days <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
https://docs.aws.amazon.com/cli/latest/reference/logs/put-retention-policy.html
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
Thanks! So there is no way that I can set this policy from task definitions?
I think It can only be done through CloudWatch. Docker has the following options and I can't seem to find anything related to
retention
https://docs.docker.com/config/containers/logging/local/