Skip to content

Control the retention of your serverless function's cloudwatch logs.

License

Notifications You must be signed in to change notification settings

Hybridless/serverless-plugin-log-retention

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-plugin-log-retention

Control the retention of your serverless function's cloudwatch logs.

Usage example

serverless.yml

service: sample

plugins:
  - serverless-plugin-log-retention

provider:
  name: aws

custom:
  logRetentionInDays: 30 # used to set a global value for all functions

functions:
  function1:
  function2:
    logRetentionInDays: 10 # set the retention for specific log group

About

Control the retention of your serverless function's cloudwatch logs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%