Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change display timezone in Google Cloud Platform logs

How do I change the timezone for the displayed times in Google Cloud Platform logs? It is currently showing the logs with CEST time, and I would like to see UTC time (which is what the sever it is logging always uses).

like image 424
JohnGB Avatar asked Jun 07 '17 08:06

JohnGB


People also ask

How do I change default GCP resource location?

After you set your project's default GCP resource location, you cannot change it. Note that your default GCP resource location only applies to your default Cloud Storage bucket. You can create multiple buckets, each with their own location.


1 Answers

It is possible to set the time zone, but the feature is almost un-discoverable.

When viewing your logs,

  1. Open the time range selector menu (the menu which says “Last hour” or similar)
  2. Choose “Jump to time”
  3. In the time picker that appears, choose your time zone and click “Go” (don't worry about the actual time that you're going to)

Your logging display time zone is now set.

like image 134
Ryan Tarpine Avatar answered Sep 20 '22 13:09

Ryan Tarpine