title: How to add a subscription filter using CloudFormation?
body: <p>I'm generating a CloudFormation template with several AWS Lambda functions. As part of the CloudFormation template I also want to add a subscription filter so that CloudWatch logs will be sent to a different account. 
  However, since I don't know the name of the logs groups at advance and couldn't find any way to have a reference to them I wasn't able to solve it. </p>
  
  <p>Is there a way to do so?</p>