Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log forwarding is not working on manually created log groups #75

Open
sema4-fgulmammadli opened this issue Oct 21, 2022 · 0 comments
Open

Comments

@sema4-fgulmammadli
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant