---
title: 'Tutorial: Configure DataDog for CloudConnexa Log Streaming'
canonical: https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/log-streaming/tutorial--configure-datadog-for-cloudconnexa-log-streaming/
product: CloudConnexa Docs
description: DataDog configuration can be done using an AWS Lambda function that reads from the AWS S3 Bucket and writes log messages to HTTP(S) DataDog endpoints.
keywords: DataDog
---

# Tutorial: Configure DataDog for CloudConnexa Log Streaming

DataDog configuration can be done using the [Serverless setup](https://docs.datadoghq.com/logs/log_collection/?tab=http#custom-log-forwarding) in which an AWS Lambda function reads from the AWS S3 Bucket and writes log messages to HTTP(S) DataDog endpoints.

## Prerequisites

- Your AWS S3 bucket is configured as per [Tutorial: Configure AWS S3 bucket for CloudConnexa Log Streaming](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/log-streaming/tutorial--configure-aws-s3-bucket-for-cloudconnexa-log-streaming.md)
- Your AWS S3 bucket is configured in the **Log Streaming** section of the CloudConnexa Administration Portal without errors.

## Configure

> **Note**
>
> There is a limitation with AWS S3 Bucket that only allows for a single Lambda function to be triggered by events from the bucket.

1. [Install DataDog Forwarder Using CloudFormation](https://cloud.openvpn.com/log-streaming/cloudformation/datadog?version=latest)
   1. On the AWS stack configuration screen, specify your AWS S3 bucket name, DataDog endpoint, DataDog API key, and any other optional parameters as required.
   2. Wait until the Lamda function is ready for use.

## Test

1. Navigate to **API & Logs \> Log Streaming** and click **Send Test Message**.
2. Check that a log file is written to your AWS S3 bucket in response to requesting that a test message be sent in the prior step. The log will appear as `<S3Bucket>/CloudConnexa/<account id>/<hexid>-<YYYY>-<MM>-<DD>-<HH>-<MM>-<xxxx>.jsonl.gz`
3. Events from the `*.jsonl.gz` files are parsed by the Lambda function and sent to DataDog. You can find it in the **Logs** section.

---

Prev: [Tutorial: Configure AWS S3 bucket for CloudConnexa Log Streaming](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/log-streaming/tutorial--configure-aws-s3-bucket-for-cloudconnexa-log-streaming.md)
Next: [Tutorial: Update DataDog integration for CloudConnexa Log Streaming](https://openvpn.net/cloud-docs/tutorials/configuration-tutorials/log-streaming/tutorial--update-datadog-integration-for-cloudconnexa-log-streaming.md)
Index: https://openvpn.net/cloud-docs/llms.txt
