Google Cloud CLI (gcloud) · Storage, secrets and logs

Read logs

Query the most recent error log entries.

gcloud logging read "severity>=ERROR" --limit 20 --format json

Official Google Cloud CLI (gcloud) documentation

More storage, secrets and logs commands

All storage, secrets and logs commands · Google Cloud CLI (gcloud) cheatsheet

Was this page helpful?