Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created January 21, 2019 10:40
Show Gist options
  • Select an option

  • Save mlabouardy/35a9236c2364d3d2d12d8c40875e8126 to your computer and use it in GitHub Desktop.

Select an option

Save mlabouardy/35a9236c2364d3d2d12d8c40875e8126 to your computer and use it in GitHub Desktop.
Create CloudWatch destination to stream logs to Kinesis
aws logs put-destination --destination-name kinesis-stream \
--target-arn "arn:aws:kinesis:AWS_REGION:ACCOUNT_ID:stream/cloudwatch-logs" \
--role-arn "arn:aws:iam::ACCOUNT_ID:role/CloudWatchStreamToKinesisRole"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment