SumoLogic / sumologic-aws-lambda

A collection of lambda functions to collect data from Cloudwatch, Kinesis, VPC Flow logs, S3, security-hub and AWS Inspector
Other
151 stars 135 forks source link

cloudwatchlog_lambda.js creates a log loop by sending logs that indicate a log has been sent to SumoLogic #188

Closed cbftw closed 4 months ago

cbftw commented 4 months ago

When a log is sent to SumoLogic by this Lambda, a log is created. This log is then sent by the Lambda and a new log is created. This behavior is a log loop and should be guarded against by the Lambda's logic.

Example message:

message:"[2024/04/12 14:36:21] [ info] [output:http:http.1] endpoint5.collection.us2.sumologic.com:443, HTTP status=200",