You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can't install the Forwarder using the provided CloudFormation template, you can install the Forwarder manually following the steps below. Feel free to open an issue or pull request to let us know if there is anything we can improve to make the template work for you.
117
117
118
-
1. Create a Python 3.12 Lambda function using `aws-dd-forwarder-<VERSION>.zip` from the latest [releases][101].
118
+
1. Create a Python 3.13 Lambda function using `aws-dd-forwarder-<VERSION>.zip` from the latest [releases][101].
119
119
2. Save your [Datadog API key][102] in AWS Secrets Manager, set environment variable `DD_API_KEY_SECRET_ARN` with the secret ARN on the Lambda function, and add the `secretsmanager:GetSecretValue` permission to the Lambda execution role.
120
120
3. If you need to forward logs from S3 buckets, add the `s3:GetObject` permission to the Lambda execution role.
121
121
4. Set the environment variable `DD_ENHANCED_METRICS` to `false` on the Forwarder. This stops the Forwarder from generating enhanced metrics itself, but it will still forward custom metrics from other lambdas.DdFetchLambdaTags
@@ -149,7 +149,7 @@ The <a href="#cloudformation-parameters">environment variables provided on this
149
149
If you encounter issues upgrading to the latest version, check the Troubleshooting section.
150
150
151
151
### Upgrade an older verison to 4.3.0+
152
-
Starting verison 4.3.0 Lambda forwarder will support a single python version only. The supported Python version of this release is 3.12.
152
+
Starting verison 4.3.0 Lambda forwarder will support a single python version only. The supported Python version of this release is 3.13.
153
153
154
154
### Upgrade an older version to +4.0.0
155
155
Starting version 4.0.0 `source`, `service` and `host` identification logic will be pulled out from the Lambda forwarder's code and set in directly in Datadog's backend. The first migrated log source is `RDS`.
@@ -592,7 +592,7 @@ The value of the `service` tag is determined based on multiple inputs. These inp
592
592
1. Log message custom tags: If the log message has a `ddtags` key which contains a `service` tag value, it will be used to override the `service` tag in the log event.
593
593
2. Lambda tags cache (applicable for Lambda logs only): Activating `DdFetchLambdaTags` will fetch and store all Lambda functions tags and will override the `service` tag if it wasn't set previously or was set to a default value i.e. `source` value.
594
594
3. Cloudwatch log group tags cache (applicable for Cloudwatch logs only): Activating `DdFetchLogGroupTags` will fetch and store all Cloudwatch log groups tags which are added to the `ddtags` entry in the log event. If `service` tag value was set in the tags cache it will be used to set the `service` tag for the log event.
595
-
4. Directly setting a `service` tag value in the forwarder's `ddtags` ENV var.
595
+
4. Directly setting a `service` tag value in the forwarder's `ddtags` ENV var.
- Create a `lambda_execution` role and attach this policy
51
51
52
-
- Create a lambda function: Skip the blueprint, name it `functionname`, set the Runtime to `Python 3.12`, the Architecture to `arm64`,, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.
52
+
- Create a lambda function: Skip the blueprint, name it `functionname`, set the Runtime to `Python 3.13`, the Architecture to `arm64`,, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.
53
53
54
54
- Copy the content of `functionname/lambda_function.py` in the code section, make sure to update the `KMS_ENCRYPTED_KEYS` environment variable with the encrypted key generated in step 1
0 commit comments