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

posta un anno fa512 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande