Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

Support for multiple log groups #18

Closed
DorrinPk opened this issue Sep 2, 2016 · 7 comments
Closed

Support for multiple log groups #18

DorrinPk opened this issue Sep 2, 2016 · 7 comments

Comments

@DorrinPk
Copy link

DorrinPk commented Sep 2, 2016

I have multiple log groups that I want to stream into this cloud formation stack. So far I've only been able to stream one of my log groups. Is there a way to support multiple log groups?

@DorrinPk
Copy link
Author

Why can't a type be CommaDelimitedList ? instead of a string ?

@dvassallo
Copy link
Contributor

Hello. At the moment this is not supported, but this is definitely a reasonable feature request. In the meantime, you should be able to workaround this by subscribing the other log groups manually with the AWS CLI:

aws logs put-subscription-filter \
    --log-group-name "<OTHER LOG GROUP NAME>" \
    --filter-name "CWL2ES" \
    --filter-pattern "" \
    --destination-arn "arn:aws:kinesis:<REGION>:<ACCOUNT_ID>:stream/<KINESIS_STREAM_NAME>" \
    --role-arn "arn:aws:iam::<ACCOUNT_ID>:role/<IAM_ROLE_NAME>"

Both the IAM role and the Kinesis stream would have been created for you automatically when setting up the first log group. You'd just have to find their names from the CloudFormation console.

@javs-perez
Copy link

I would like to see this feature too! Do you have a timeline for it?

Thanks for your help.

@ghost
Copy link

ghost commented Feb 28, 2017

Are there any updates on this request?

I could not get the subscription route to work

@sateesh-pagolu
Copy link

Is there any update on this feature?

@seancurran157
Copy link

any update on this feature?

@MahekPavagadhi
Copy link

Is there any update? @dvassallo

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

No branches or pull requests

6 participants