rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
19 stars 17 forks source link

Use local timezone for platform logs #443

Open christian-brindley opened 2 months ago

christian-brindley commented 2 months ago

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: