Created
January 21, 2019 10:42
-
-
Save mlabouardy/109c252c239a62cfec7b00780ee144d7 to your computer and use it in GitHub Desktop.
Create filter subscription on log group
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws logs put-subscription-filter --log-group-name "/aws/lambda/Fibonacci" \ | |
--filter-name "parse-logs" --filter-pattern '[timestamp=*Z, request_id="*-*", event]' \ | |
--destination-arn "arn:aws:logs:AWS_REGION:ACCOUNT_ID:destination:kinesis-stream" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment