---
title: Send Datadog Lambda Extension Logs to Observability Pipelines
description: Learn how to send Lambda Extension logs to Observability Pipelines
breadcrumbs: >-
  Docs > Observability Pipelines > Sources > Send Datadog Lambda Extension Logs
  to Observability Pipelines
---

# Send Datadog Lambda Extension Logs to Observability Pipelines

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

This document describes how to use the Datadog Lambda Extension to send AWS vended logs to Observability Pipelines. The setup steps are:

- Set up a pipeline with the HTTP/S Server source.
- Deploy the Datadog Lambda Extension

See [Datadog Lambda Extension](https://docs.datadoghq.com/serverless/libraries_integrations/extension/) to learn more about it.

## Set up a pipeline{% #set-up-a-pipeline %}

1. Navigate to [Observability Pipelines](https://app.datadoghq.com/observability-pipelines).
1. Select the HTTP Server source:
   1. Select **None** in the dropdown menu for **Authorization strategy**.
   1. Select **JSON** in the dropdown menu for **Decoding**.
1. After you set up your [destinations](https://docs.datadoghq.com/observability_pipelines/destinations/) and [processors](https://docs.datadoghq.com/observability_pipelines/processors/), click **Next: Install**.
1. On the **Install** page, enter the HTTP/S Server listener address, such as `0.0.0.0:9997`.
1. 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{% #deploy-the-datadog-lambda-extension %}

### Install the Datadog Lambda Extension{% #install-the-datadog-lambda-extension %}

Follow the instructions in [Instrument AWS Lambda applications](https://docs.datadoghq.com/serverless/aws_lambda/instrumentation/) to set up the Datadog Lambda Library to collect data from your AWS Lambda applications.

### Set environment variables for Datadog Lambda Extension{% #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`: `true`
- `DD_OBSERVABILITY_PIPELINES_WORKER_LOGS_URL`: `<YOUR_OBSERVABILITY_PIPELINE_URL>`
