Mitchell
Mitchell

Reputation: 101

Get GCP Logging Log Viewer to highlight custom labels

A great feature in debugging Google Cloud Functions calls is the highlighting of the functionName and the execution id (see photo). Is it possible to also get your own logs (generated by the python logging client) to show up highlighted?

enter image description here

Upvotes: 5

Views: 1097

Answers (1)

glasnt
glasnt

Reputation: 2973

You can use summary fields to show these values

https://cloud.google.com/logging/docs/view/logs-viewer-interface#add_summary_fields

enter image description here

Upvotes: 3

Related Questions