AWS Logs Integration

Add AWS Log Lambda ARN

Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.

post/api/v1/integration/aws/logs

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/integration/aws/logs
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Request body

account_idstring required

Your AWS Account ID without dashes.

lambda_arnstring required

ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup.

Example request

{
  "account_id": "1234567",
  "lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.