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

feita há um ano511 visualizações
1 Resposta
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
ESPECIALISTA
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas