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年前

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

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

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

関連するコンテンツ