Cloudwatch Log Insights doesn't find logs from the first Lambda Invocation

1

Hello,

We are using CloudWatch Log Insights. Currently we considered an issue, that CloudWatch log insights never found the logs from the first lambda invocation.

I was able to reproduce it in several lambda functions and on two different AWS accounts. Can someone try to reproduce the issue?

Just create a lambda function from scratch. (NodeJS). The lambda function handler only needs one logging statement "console.log(event)".

The Log Insights Query can be the default one: fields @timestamp, @message | sort @timestamp desc | limit 20

The first invocation will not be found. (of course i checked the time period which was selected in CloudWatch log insights). if I trigger the lambda function again, the logs from the second invocation will be found.

Can someone check if you can reproduce this issue?

Kind Regards Stefan

Stefan
질문됨 2년 전976회 조회
1개 답변
0

Yes I could reproduce it too

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠