- 最新
- 最多得票
- 最多評論
Hi,
Is that a Lambda@Edge function? See Lambda@Edge logs and Aggregating Lambda@Edge Logs for more details if my guess was correct.
Regards.
Hello.
Can you confirm that the output destination log group has been changed from the console of the target Lambda?
https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs.html
Also, is the IAM policy attached to the Lambda IAM role configured to output logs to a custom log group?
Hi, Thanks for looking into the issue. Yes, in console loggroup name is updated for that lambda (inside monitoring and operations.. tab ). AWS managed AWSLambdaBasicExecutionRole policy is associated with lambda role. policy contains createLoggroup, createlogstream, PutLogEvents actions for all resources.
Still lambda sends logs in aws/lambda/us-east-1.<function-name> loggroup.
相關內容
- 已提問 7 個月前
- AWS 官方已更新 2 年前
Hi, Thanks for your inputs. Yes, It is Lambda@Edge function. As documentation suggests, for edge functions region code in loggroup name seems reasonable. Thanks again for clearing it.