From 2542725723827b36334f0aa1249961cb0db73e5c Mon Sep 17 00:00:00 2001 From: Fabien Date: Tue, 16 Sep 2025 21:31:46 +0200 Subject: [PATCH] fix(docs): retry using aws cli aws cli v2 defaults to base64 payload. Use `cli-binary-format` option to use raw json. --- aws/logs_monitoring/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/logs_monitoring/README.md b/aws/logs_monitoring/README.md index dfd0a461..346be90e 100644 --- a/aws/logs_monitoring/README.md +++ b/aws/logs_monitoring/README.md @@ -125,7 +125,7 @@ If you can't install the Forwarder using the provided CloudFormation template, y 8. Set environment variable `DD_STORE_FAILED_EVENTS` to `true` to enable the forwarder to also store event data in the S3 bucket. In case of exceptions when sending logs, metrics or traces to intake, the forwarder will store relevant data in the S3 bucket. On custom invocations i.e. on receiving an event with the `retry` keyword set to a non empty string (which can be manually triggered - see below), the forwarder will retry sending the stored events. When successful it will clear up the storage in the bucket. ```bash -aws lambda invoke --function-name --payload '{"retry":"true"}' out +aws lambda invoke --function-name --cli-binary-format raw-in-base64-out --payload '{"retry":"true"}' out ```