From 2f0611a3b91f7912fef6c68f07bc283263d9212f Mon Sep 17 00:00:00 2001 From: Buchi Reddy Busi Reddy Date: Thu, 26 Dec 2024 12:35:06 -0600 Subject: [PATCH] Updating AWS API Gateway notes. --- .../install-traffic-capture-sensors/aws-api-gateway.md | 10 +++++++++- .../install-traffic-capture-sensors.md | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/install-traffic-capture-sensors/aws-api-gateway.md b/docs/install-traffic-capture-sensors/aws-api-gateway.md index fb53eff17..468f20e9d 100644 --- a/docs/install-traffic-capture-sensors/aws-api-gateway.md +++ b/docs/install-traffic-capture-sensors/aws-api-gateway.md @@ -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 `support@levo.ai` if you are interested in this setup. diff --git a/docs/install-traffic-capture-sensors/install-traffic-capture-sensors.md b/docs/install-traffic-capture-sensors/install-traffic-capture-sensors.md index 2ab19dd82..0bfd5896f 100644 --- a/docs/install-traffic-capture-sensors/install-traffic-capture-sensors.md +++ b/docs/install-traffic-capture-sensors/install-traffic-capture-sensors.md @@ -62,8 +62,6 @@ Note that CloudFront does not provide access to the API endpoint response bodies You may instrument your AWS API Gateway endpoints with CloudWatch Logs. -However, CloudWatch only provides endpoints access logs and API endpoint request and response bodies will not be available. - [**Click here for the installation instructions**](/install-traffic-capture-sensors/aws-api-gateway). ## Azure API Management Policy