I know
- Lambda calls
PutLogEventsto log messages internally. - CloudWatch has a limit on
PutLogEvents.
PutLogEvents: 5 requests per second per log stream.
I want to know
- Could Lambda log stream also be throttled by
PutLogEvents? - If so, how to know if a Lambda log stream is throttled or not?
Any error message in the log stream?
- When does Lambda call
PutLogEvents?
for example,
- at the end of a Lambda function, it calls
PutLogEventsonce. - when flushing buffer(stdout), it calls
PutLogEventsall the time.