hardgcloud

Query Cloud Logging for error-level logs from Compute Engine instances

command

gcloud logging read "resource.type=gce_instance AND severity>=ERROR" --limit 20

also accepted

gcloud logging read "resource.type=gce_instance

Test your recall — not just your reading.

Practice with interactive quiz →