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

[FR] services.x-logging add Subscription Filter to x-kinesis or x-kinesis_firehose #604

Open
JohnPreston opened this issue May 8, 2022 · 0 comments
Assignees
Labels

Comments

@JohnPreston
Copy link
Member

JohnPreston commented May 8, 2022

As a user, I might want to funnel log groups to x-kinesis and/or x-kinesis_firehose

Describe the solution you'd like

services:
  myapp-to-log:
    x-logging:
      SubscriptionFilters:
        log-all:
          FilterPattern: "*"
          DestinationArn: x-kinesis::stream-01
        log-user-id:
          FilterPattern: "{$.userIdentity.type = Root}"
          DestinationArn: x-kinesis_firehose::stream-01
          
x-kinesis:
  stream-01:
    Properties: {}
x-kinesis_firehose:
  stream-01:
    Properties: {}

Each element in SubscriptionFilters would allow for original properties.
By default, the IAM Role for cloudwatch will be re-created and permissions set accordingly.

@JohnPreston JohnPreston added enhancement New feature or request logging labels May 8, 2022
@JohnPreston JohnPreston self-assigned this May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant