From bf2de8a7af35e2c20f0a9575422495d4b600179f Mon Sep 17 00:00:00 2001 From: Akhil Dangore Date: Thu, 16 Oct 2025 22:38:33 +0530 Subject: [PATCH 1/3] Updated dest extension path --- .../collect-aws-lambda-logs-extension.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md index d7973e25cc..795505beb6 100644 --- a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md +++ b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md @@ -99,7 +99,8 @@ To package the Sumo Logic Lambda Extension with the AWS Lambda function created 1. In your AWS Lambda container image Dockerfile, add the command below. ```bash - ADD /sumologic-extension-.tar.gz /opt/ + RUN mkdir -p /opt/extensions + ADD /sumologic-extension-.tar.gz /opt/extensions ``` 1. Validate if the extension is added to the directory and execute the below command. From 1c57ebfaf6d3850f8754e55864ca12ae411bf551 Mon Sep 17 00:00:00 2001 From: Akhil Dangore Date: Thu, 23 Oct 2025 10:55:48 +0530 Subject: [PATCH 2/3] Updated dockerfile steps --- .../collect-aws-lambda-logs-extension.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md index 795505beb6..410cb479cc 100644 --- a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md +++ b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md @@ -97,12 +97,21 @@ To package the Sumo Logic Lambda Extension with the AWS Lambda function created ``` 1. In your AWS Lambda container image Dockerfile, add the command below. - + ##### Create the target directory for extensions ```bash RUN mkdir -p /opt/extensions + ``` + ##### Create the target directory for extensions + ```bash ADD /sumologic-extension-.tar.gz /opt/extensions ``` - + ##### Clean up any hidden files from the extracted content + ```bash + RUN find /opt/extensions -type f -name ".*" -delete + ``` + :::note + Any file placed under /opt/extensions is treated as an executable. Hidden files (such as ._filename) or non-binary files in this directory may also be executed, potentially causing unexpected behavior. + ::: 1. Validate if the extension is added to the directory and execute the below command. ```bash From 8953b666fd0219e23946cdfc7aaae20fa0833564 Mon Sep 17 00:00:00 2001 From: Amee Lepcha Date: Thu, 23 Oct 2025 13:25:58 +0530 Subject: [PATCH 3/3] Update collect-aws-lambda-logs-extension.md --- .../collect-aws-lambda-logs-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md index 410cb479cc..aa8ec5f0f5 100644 --- a/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md +++ b/docs/send-data/collect-from-other-data-sources/collect-aws-lambda-logs-extension.md @@ -112,7 +112,7 @@ To package the Sumo Logic Lambda Extension with the AWS Lambda function created :::note Any file placed under /opt/extensions is treated as an executable. Hidden files (such as ._filename) or non-binary files in this directory may also be executed, potentially causing unexpected behavior. ::: -1. Validate if the extension is added to the directory and execute the below command. +1. Validate if the extension is added to the directory and execute the command below. ```bash docker run -it --entrypoint sh :