Serverless Plugin Log Retention

homepage icon https://github.com/ArtificerEntertainment/serverless-plugin-log-retention
Follow @ArtificerEntertainment

Tracked

NPM Downloads Last Month
77506
Issues
0
Stars
0
Forks
0
Watchers
0
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

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