Send Datadog Lambda Extension Logs to Observability Pipelines
This product is not supported for your selected
Datadog site. (
).
This document describes how to use the Datadog Lambda Extension to send AWS vended logs to Observability Pipelines. The setup steps are:
See Datadog Lambda Extension to learn more about it.
Set up a pipeline
- Navigate to Observability Pipelines.
- Select the HTTP Server source:
- Select None in the dropdown menu for Authorization strategy.
- Select JSON in the dropdown menu for Decoding.
- After you set up your destinations and processors, click Next: Install.
- On the Install page, enter the HTTP/S Server listener address, such as
0.0.0.0:9997. - Follow the rest of the instructions on the page to install the Worker based on your platform.
Note: Your Observability Pipeline must use HTTP Server as the source to process logs from the Lambda extension. Do not use Datadog Agent as the source.
Deploy the Datadog Lambda Extension
Install the Datadog Lambda Extension
Follow the instructions in Instrument AWS Lambda applications to set up the Datadog Lambda Library to collect data from your AWS Lambda applications.
Set environment variables for Datadog Lambda Extension
Version 87+ of the Datadog Lambda Extension allows users to send logs to Observability Pipelines.
To enable this feature, set these environment variables:
DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_ENABLED: trueDD_OBSERVABILITY_PIPELINES_WORKER_LOGS_URL: <YOUR_OBSERVABILITY_PIPELINE_URL>