Skip to content

Commit 5a878bf

Browse files
authored
Update README.md
1 parent 57962fe commit 5a878bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ The Sumo Logic lambda extension is available as an AWS public Layer. The latest
1616
- AWS_REGION - Replace with your AWS Lambda Region.
1717

1818
### Receive logs during AWS Lambda execution time
19-
All the logs which are not sent to Sumo Logic during the execution of the AWS lambda, are sent to Sumo Logic during the [ShutDown](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html) of the AWS Lambda.
19+
All the logs that are not sent to Sumo Logic during the Execution phase of the AWS Lambda, are sent during the shutdown phase instead. For more details on phases on the lifecycle and AWS Lambda phases please see the[ AWS documentation ](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html).
2020

21-
If you would like to send the Logs during the execution of the AWS lambda, you can add some extra execution time (using sleep at the end of lambda), which will give extension time to run and send the logs to Sumo Logic. We recommend adding a sleep time of around approx 1 - 2 seconds.
21+
If you would like to always send logs during the execution phase however, you can add extra execution time via a sleep function at the end of lambda code, which will give your extension time to run and send logs to Sumo Logic. We recommend setting this to two seconds.
2222

2323

2424
# Contributing

0 commit comments

Comments
 (0)