capabilities.work

Set a log group's retention period

One step with Amazon CloudWatch. We can help you get access.

Get something done

Set a log group's retention period

Use Amazon CloudWatch: its Amazon CloudWatch Operations API lets you set a log group's retention period in a single step (POST /#PutRetentionPolicy). capabilities.work can help you get signed up and connected.

  • How long do I keep log events in a log group before they expire?
  • Can I set a retention period that overrides the account-level policy?
Say it to your AI assistant
  • Set log retention in {logGroupName} to {retentionInDays} days.
  • Keep logs in {logGroupName} for {retentionInDays} days.
For your developer

POST /#PutRetentionPolicy in Amazon CloudWatch Operations API. Full spec on APIs.io.