Skip to content

Commit 711ab08

Browse files
[DOCS-9810] Add lambda section to HTTP Server source doc (#29222)
* add lambda section * small edits and add links * add anchor link from overview * add recommendation * Update content/en/observability_pipelines/sources/http_server.md Co-authored-by: Brett Blue <[email protected]> * Update content/en/observability_pipelines/sources/http_server.md Co-authored-by: Brett Blue <[email protected]> * apply suggestions --------- Co-authored-by: Brett Blue <[email protected]>
1 parent 1327f1a commit 711ab08

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

content/en/observability_pipelines/sources/http_server.md

+39-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ disable_toc: false
55

66
Use Observability Pipelines' HTTP/S Server source to collect HTTP client logs. Select and set up this source when you [set up a pipeline][1].
77

8+
You can also [send AWS vended logs with Datadog Lambda Forwarder to Observability Pipelines](#send-aws-vended-logs-with-the-datadog-lambda-forwarder-to-observability-pipelines).
9+
810
## Prerequisites
911

1012
{{% observability_pipelines/prerequisites/http_server %}}
@@ -15,4 +17,40 @@ Select and set up this source when you [set up a pipeline][1]. The information b
1517

1618
{{% observability_pipelines/source_settings/http_server %}}
1719

18-
[1]: /observability_pipelines/set_up_pipelines/
20+
## Send AWS vended logs with the Datadog Lambda Forwarder to Observability Pipelines
21+
22+
To send AWS vended logs to Observability Pipelines with the HTTP/S Server source:
23+
24+
- [Set up a pipeline with the HTTP/S Server source](#set-up-a-pipeline).
25+
- [Deploy the Datadog Forwarder](#deploy-the-datadog-lambda-forwarder).
26+
27+
**Note**: This is available for Worker versions 2.51 or later.
28+
29+
### Set up a pipeline
30+
31+
1. Navigate to [Observability Pipelines][1].
32+
1. Select the HTTP Server source:
33+
1. Select **None** in the dropdown menu for **Authorization strategy**.
34+
1. Select **JSON** in the dropdown menu for **Decoding**.
35+
1. After you set up your [destinations][2] and [processors][3], click **Next: Install**.
36+
1. On the **Install** page, enter the HTTP/S Server listener address, such as `0.0.0.0:9997`.
37+
1. Follow the rest of the instructions on the page to install the Worker based on your platform.
38+
39+
### Deploy the Datadog Lambda Forwarder
40+
41+
Follow the [Datadog Forwarder CloudFormation installation instructions][4] to deploy the Datadog Forwarder. After you have filled in `DdApiKey` and selected the appropriate `DdSite`, go to the **Log Forwarding (Optional)** section. Enter the following information in that section to set up the Forwarder to send logs to Observability Pipelines:
42+
43+
1. In the **DdUrl** field, enter your load balancer address, which for this example is `9997`. **Note**: Datadog recommends fronting your Worker with a load balancer.
44+
1. In the **DdPort** field, enter `80`.
45+
1. If you want to encrypt traffic from the Datadog Forwarder to your Observability Pipelines Worker load balancer, you need to create an HTTPS listener and manage a certificate on your load balancer. Consult your cloud provider's documentation. For example in AWS, see [Create an HTTPS listener for your Application Load Balancer][5] for more information.
46+
1. If you do not need to maintain encryption between the Datadog Forwarder and load balancer, select **true** in the **DdNoSsl** dropdown menu.
47+
1. Click **Create stack**, and wait for the creation to complete.
48+
1. You can find the installed forwarder Lambda function under the stack's **Resources** tab with the logical ID `Forwarder`.
49+
1. [Set up triggers][6] for the installed Datadog Forwarder.
50+
51+
[1]: https://app.datadoghq.com/observability-pipelines
52+
[2]: /observability_pipelines/destinations/
53+
[3]: /observability_pipelines/processors/
54+
[4]: /logs/guide/forwarder/?tab=cloudformation#installation
55+
[5]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
56+
[6]: /logs/guide/send-aws-services-logs-with-the-datadog-lambda-function/?tab=awsconsole#set-up-triggers

0 commit comments

Comments
 (0)