serverless-log-forwarding icon indicating copy to clipboard operation
serverless-log-forwarding copied to clipboard

Log forwarding is not working on manually created log groups

Open sema4-fgulmammadli opened this issue 3 years ago • 0 comments
trafficstars

I have this configuration in my serverless,yaml:

provider:
  name: aws
  runtime: nodejs14.x

plugins:
  - serverless-log-forwarding

custom:
  logForwarding:
    destinationARN: <arn to lambda>

resources:
  Resources:
    MyCustomLogGroup:
      Type: AWS::Logs::LogGroup
      Properties:
        LogGroupName: MyCustomLogGroup
        RetentionInDays: 90

I can succesfully deploy this to aws but I cant see the lambda in subscription filter of log group. Does the plugin work only on automatically created log groups from functions?

sema4-fgulmammadli avatar Oct 21 '22 13:10 sema4-fgulmammadli