Where are lambda logs?

0

I've been running a lambda couple dozen times in the past 10min. "last event time" on cloudwatch logs is 20mins ago. Where are my logs? lambda is not writing logs to cloudwatch more or less immediately?...

AWS
エキスパート
質問済み 5年前202ビュー
1回答
1
承認された回答

Lambda does write to CWLogs with in seconds.

Are you seeing a Log Group for you lambda? If so are there any Log Streams in that log group. Using the Monitoring console is probably the easiest way to get to the Log group for a Lambda: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-logs.html

Also be aware that a new log stream will be created every time your Lambda moves to a new underlying container, so if you are viewing one stream and not seeing new statements, they may be going into a new stream in that Lambda log group.

AWS
SamKeen
回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ