-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow setting local timezone for viewing logs #1302
Labels
Comments
derailed
added
enhancement
New feature or request
good first issue
Good for newcomers
labels
Nov 17, 2021
I'm dealing with a malicious user and you template since its K9 will work
perfectly on the user is which possession cat characteristics but visually
it is colorless.
So yeah what logs you need? I would like to add the your template to a
quantum respiratory. Would need the assisted and please let me and update.
…On Sun, 16 Jan 2022, 21:03 Ali Mazloum, ***@***.***> wrote:
<https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s_small.png>
*Is your feature request related to a problem? Please describe.*
Logs are shown in UTC. IT is frustrating when trying to troubleshoot an
issue and need to keep converting timestamps to determine which logs are
relevant.
*Describe the solution you'd like*
I'd like to be able to pass an environment variable (TZ) which is used
when showing logs so the timestamps represent my local timezone. This would
also allow for setting to a non-local timezone if investigating behaviour
with a remote team (as TZ could be set to match the customers location and
work in their timezone)
*Describe alternatives you've considered*
Mounting /etc/timezone and /etc/localtime - not flexible for non-linux OS
(mac etc)
*Additional context*
Changing the cluster configuration is not practical as the team is
distributed, so there is no single zone for all users.
It would also be useful to optionally shorten/suppress the number of
sub-second decimal places in the timestamp. Nine decimal places is probably
more detail than normally needed.
(R)
—
Reply to this email directly, view it on GitHub
<#1302 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWWEHE7YMBBXQCLQ7YYMLCDUWOPKHANCNFSM5IAKNFKQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
Oct 12, 2023
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
Oct 12, 2023
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
Oct 12, 2023
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
Oct 12, 2023
ngc7293
added a commit
to ngc7293/k9s
that referenced
this issue
Feb 17, 2024
Support displaying logs timestamp in local rather than cluster time. The option can be controlled from the log viewer with the 'z' key, or set in the config yaml.
ngc7293
added a commit
to ngc7293/k9s
that referenced
this issue
Feb 17, 2024
Support displaying logs timestamp in local rather than cluster time. The option can be controlled from the log viewer with the 'z' key, or set in the config yaml.
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
May 27, 2024
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
May 27, 2024
DarkIsDude
added a commit
to DarkIsDude/k9s
that referenced
this issue
May 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Logs are shown in UTC. IT is frustrating when trying to troubleshoot an issue and need to keep converting timestamps to determine which logs are relevant.
Describe the solution you'd like
I'd like to be able to pass an environment variable (
TZ
) which is used when showing logs so the timestamps represent my local timezone. This would also allow for setting to a non-local timezone if investigating behaviour with a remote team (as TZ could be set to match the customers location and work in their timezone)Describe alternatives you've considered
Mounting
/etc/timezone
and/etc/localtime
- not flexible for non-linux OS (mac etc)Additional context
Changing the cluster configuration is not practical as the team is distributed, so there is no single zone for all users.
It would also be useful to optionally shorten/suppress the number of sub-second decimal places in the timestamp. Nine decimal places is probably more detail than normally needed.
The text was updated successfully, but these errors were encountered: