hardgcloud
Query Cloud Logging for error-level logs from Compute Engine instances
command
gcloud logging read "resource.type=gce_instance AND severity>=ERROR" --limit 20also accepted
gcloud logging read "resource.type=gce_instancecommand
gcloud logging read "resource.type=gce_instance AND severity>=ERROR" --limit 20also accepted
gcloud logging read "resource.type=gce_instancePart of the Google Cloud CLI (gcloud) — Operations category.
| Flag | Purpose |
|---|---|
--limit | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →