cloudformation-template icon indicating copy to clipboard operation
cloudformation-template copied to clipboard

Set Forwarder Lambda's Logging Level in the CloudFormation Template

Open gluckzhang opened this issue 1 year ago • 0 comments

Expected Behavior

I would love to have a parameter in the template that sets DD_LOG_LEVEL for the Datadog forwarder.

From this documentation I see that DD_LOG_LEVEL can be used for setting the logging level of the Forwarder Lambda function. However, it seems that I cannot configure this if I use the CloudFormation template to create the lambda.

Actual Behavior

DD_LOG_LEVEL cannot be set via the provided CloudFormation template.

Specifications

  • Datadog CloudFormation template version: latest (e.g., https://github.com/DataDog/cloudformation-template/blob/ff7451b7e196209aa38cc5fbcf843bc7fe3d7afa/aws/main.yaml)

gluckzhang avatar Oct 14 '24 12:10 gluckzhang