-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ec04dd
commit 2f0611a
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,16 @@ aws logs tail --follow $log_group_name | |
You may also use Amazon Data Firehose to stream live access logs to Levo's satellite. | ||
|
||
1. Configure a CloudWatch log group for APIs in API Gateway (using the above example script) | ||
1. Create a Firehose stream to send incoming events to a publicly accessible satellite endpoint | ||
1. Create a Firehose stream to send incoming events to a publicly accessible satellite endpoint by following these steps: | ||
- Go to the AWS Data Firehose Service in the AWS Console. | ||
- Click on Create Firehose stream. | ||
- In Source, choose `Direct PUT` from the dropdown, and in the Destination, choose `HTTP Endpoint`. | ||
- In HTTP endpoint URL under Destination, put the satellite's publically accessible endpoint and click on Create Firehose Stream to complete the process. | ||
1. Connect the CloudWatch log group to the Firehose stream | ||
- Open the earlier created log group in AWS CloudWatch. | ||
- Go to Subscription Filters and click on Create. | ||
- Choose `Create Amazon Data Firehose subscription filter` and select the particular Amazon Data Firehose stream. | ||
- Click on `Start Streaming` and you can now see your traffic come up in our Application. | ||
|
||
Please contact `[email protected]` if you are interested in this setup. | ||
|
||
|
This file contains 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