kube-monkey
kube-monkey copied to clipboard
Timezone of log timestamps
Hi! I parse kubemonkey logs in an automating script and I extract timestamps for scheduling times and termination times. I configured the timezone of my location and termination times are displayed according to that, but the timestamps at the beginning of the lines are not. So my extracted timestamps are mismatched in timezone.
I can solve this with a simple workaround as long as I know the time difference, but I'd like to write my script so that it can be run in any timezone. Now the difference happens to equal the difference between my timezone (CEST) and UTC. Can I assume that the log timestamp is always in UTC? If not, is there a setting somewhere where I can fix this mismatch?
Thank you.
That sounds very reasonable. If you have a PR, I'd be happy to take a look.