Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local timezone for platform logs #443

Open
christian-brindley opened this issue Sep 19, 2024 · 0 comments
Open

Use local timezone for platform logs #443

christian-brindley opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@christian-brindley
Copy link

The platform logs include timestamps in UTC timezone - for example

"timestamp": "2024-09-16T16:26:06.335625412Z"

When specifying a date range for the frodo logs command, you can search via UTC as per the logs - e.g.

frodo logs fetch -b 2024-09-16T06:00:00Z -e 2024-09-16T06:10:00Z ...

For customers who wish to use local timezone for the search, it is possible to offset the search timestamps accordingly - e.g. 2024-09-16T06:00:00-05:00 - but it would be helpful to have the following features:

  • An option to automatically use the local timezone (maybe by leaving off the Z), or have a timezone option

  • An option to transform the log timestamps in the results to the local timezone - e.g. transform "timestamp": "2024-09-16T16:26:06.335625412Z" to "timestamp": "2024-09-16T11:26:06.335625412-05:00"

@christian-brindley christian-brindley added the enhancement New feature or request label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant