https://github.com/serverless/serverless-plugin-log-retention
Control the retention of your serverless function's cloudwatch logs.
https://github.com/serverless/serverless-plugin-log-retention
Last synced: about 1 month ago
JSON representation
Control the retention of your serverless function's cloudwatch logs.
- Host: GitHub
- URL: https://github.com/serverless/serverless-plugin-log-retention
- Owner: serverless
- License: mit
- Created: 2017-12-06T14:14:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-29T18:58:21.000Z (4 months ago)
- Last Synced: 2025-04-13T05:36:43.726Z (about 2 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 23
- Watchers: 3
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> The Serverless Framework now has built-in support for the log retention setting. [For more information please refer to the official documentation](https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml#general-aws-lambda-settings). This plugin should no longer be needed.# serverless-plugin-log-retention
Control the retention of your serverless function's cloudwatch logs.## Usage example
`serverless.yml````yml
service: sampleplugins:
- serverless-plugin-log-retentionprovider:
name: awscustom:
logRetentionInDays: 30 # used to set a global value for all functionsfunctions:
function1:
function2:
logRetentionInDays: 10 # set the retention for specific log group
```