gcloud run worker-pools logs read WORKER_POOL [--freshness=FRESHNESS; default="1d"] [--log-filter=LOG_FILTER] [--order=ORDER; default="desc"] [--region=REGION] [--limit=LIMIT] [GCLOUD_WIDE_FLAG …]
--log-filter are returned according to the specified --order. If
the log entries come from multiple logs, then entries from different logs might
be intermingled in the results.
gcloud run worker-pools logs read my-worker-poolTo read log entries with severity ERROR or higher, run:
gcloud run worker-pools logs read my-worker-pool --log-filter="severity>=ERROR"To read log entries written in a specific time window, run:
gcloud run worker-pools logs read my-worker-pool --log-filter='timestamp<="2015-05-31T23:59:59Z" AND
timestamp>="2015-05-31T00:00:00Z"'
To read up to 10 log entries in your worker pool payloads that include the word
SearchText and format the output in JSON format, run:
gcloud run worker-pools logs read my-worker-pool --log-filter="textPayload:SearchText" --limit=10 --format=jsonWORKER_POOL--freshness=FRESHNESS; default="1d"--log-filter=LOG_FILTER--order=ORDER; default="desc"ORDER must be one of: desc,
asc.
--region=REGION--limit=LIMITunlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter,
--limit.
--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud alpha run worker-pools logs readgcloud beta run worker-pools logs read
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.