Why I have diferent Time Zone by user in the same account

0

Hi,

I have some users in my AWS account, but some of them have diferents "Time Zone"; I mean one user prints UTC-6 in his CloudWatch logs and other user prints UTC-5 in his cloudwatch logs, their logs are in the same region in fact is the same lambda log.

What can I do or chek?, help please... thanks!!!

已提問 1 年前檢視次數 511 次
1 個回答
0

It is unclear what the Lambda code looks like, but from the following documentation, it appears that the time zone defaults to UTC in the environment variable.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime

I think the problem is not with Lambda but with the CloudWatch Logs.
The default view in CloudWatch Logs is per IAM user time zone because it is local time zone.
So after viewing the logs in CloudWatch Logs, it is possible to change the time zone from local time zone to UTC from Custom in the upper right corner of the screen.
However, it is not possible to align to UTC-6 or UTC-5 since the choice is either local time zone or UTC.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南