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!!!

asked a year ago482 views
1 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions