mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Feb 1 11:38:52 UTC 2023
This commit is contained in:
parent
6dc17bdd4a
commit
fc11b54760
173 changed files with 5650 additions and 253 deletions
|
|
@ -28,6 +28,9 @@ GCLOUD WIDE FLAGS
|
|||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
logs
|
||||
(ALPHA) Read logs for Cloud Run jobs executions.
|
||||
|
||||
tasks
|
||||
(ALPHA) View and manage your Cloud Run jobs tasks.
|
||||
|
||||
|
|
|
|||
45
gcloud/alpha/run/jobs/executions/logs/help
Normal file
45
gcloud/alpha/run/jobs/executions/logs/help
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
NAME
|
||||
gcloud alpha run jobs executions logs - read logs for Cloud Run jobs
|
||||
executions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs executions logs COMMAND [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Read logs for Cloud Run jobs executions.
|
||||
|
||||
EXAMPLES
|
||||
To tail logs for a job execution, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs tail my-job-execution
|
||||
|
||||
To read logs for a job execution, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs read my-job-execution
|
||||
|
||||
FLAGS
|
||||
--region=REGION
|
||||
Region in which the resource can be found. Alternatively, set the
|
||||
property [run/region].
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
read
|
||||
(ALPHA) Read logs for Cloud Run job executions.
|
||||
|
||||
tail
|
||||
(ALPHA) Tail logs for Cloud Run job executions.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
84
gcloud/alpha/run/jobs/executions/logs/read
Normal file
84
gcloud/alpha/run/jobs/executions/logs/read
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
NAME
|
||||
gcloud alpha run jobs executions logs read - read logs for Cloud Run job
|
||||
executions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs executions logs read EXECUTION
|
||||
[--freshness=FRESHNESS; default="1d"] [--log-filter=LOG_FILTER]
|
||||
[--order=ORDER; default="desc"] [--region=REGION] [--limit=LIMIT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha run jobs executions logs read reads log entries. Log
|
||||
entries matching --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.
|
||||
|
||||
EXAMPLES
|
||||
To read log entries from for a Cloud Run job execution, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs read my-job-execution
|
||||
|
||||
To read log entries with severity ERROR or higher, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs read my-job-execution \
|
||||
--log-filter="severity>=ERROR"
|
||||
|
||||
To read log entries written in a specific time window, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs read my-job-execution \
|
||||
--log-filter='timestamp<="2015-05-31T23:59:59Z" AND
|
||||
timestamp>="2015-05-31T00:00:00Z"'
|
||||
|
||||
To read up to 10 log entries in your job payloads that include the word
|
||||
SearchText and format the output in JSON format, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs read my-job-execution \
|
||||
--log-filter="textPayload:SearchText" --limit=10 --format=json
|
||||
|
||||
Detailed information about filters can be found at:
|
||||
https://cloud.google.com/logging/docs/view/advanced_filters
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
EXECUTION
|
||||
Name for a Cloud Run job execution.
|
||||
|
||||
FLAGS
|
||||
--freshness=FRESHNESS; default="1d"
|
||||
Return entries that are not older than this value. Works only with DESC
|
||||
ordering and filters without a timestamp. See $ gcloud topic datetimes
|
||||
for information on duration formats.
|
||||
|
||||
--log-filter=LOG_FILTER
|
||||
Filter expression that specifies the log entries to return. Detailed
|
||||
information about filters can be found at:
|
||||
https://cloud.google.com/logging/docs/view/logging-query-language
|
||||
|
||||
--order=ORDER; default="desc"
|
||||
Ordering of returned log entries based on timestamp field. ORDER must
|
||||
be one of: desc, asc.
|
||||
|
||||
--region=REGION
|
||||
Region in which the resource can be found. Alternatively, set the
|
||||
property [run/region].
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --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.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
54
gcloud/alpha/run/jobs/executions/logs/tail
Normal file
54
gcloud/alpha/run/jobs/executions/logs/tail
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
NAME
|
||||
gcloud alpha run jobs executions logs tail - tail logs for Cloud Run job
|
||||
executions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs executions logs tail EXECUTION
|
||||
[--log-filter=LOG_FILTER] [--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha run jobs executions logs tail tails log-entries for a
|
||||
particular Cloud Run job exeuction in real time. The log entries are
|
||||
formatted for consumption in a terminal.
|
||||
|
||||
EXAMPLES
|
||||
To tail log entries for a Cloud Run job exeuction, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs tail my-job-execution
|
||||
|
||||
To tail log entries with severity ERROR or higher, run:
|
||||
|
||||
$ gcloud alpha run jobs executions logs tail my-job-execution \
|
||||
--log-filter="severity>=ERROR"
|
||||
|
||||
Detailed information about filters can be found at:
|
||||
https://cloud.google.com/logging/docs/view/advanced_filters
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
EXECUTION
|
||||
Name for a Cloud Run job.
|
||||
|
||||
FLAGS
|
||||
--log-filter=LOG_FILTER
|
||||
Filter expression that specifies the log entries to return. Detailed
|
||||
information about filters can be found at:
|
||||
https://cloud.google.com/logging/docs/view/logging-query-language
|
||||
|
||||
--region=REGION
|
||||
Region in which the resource can be found. Alternatively, set the
|
||||
property [run/region].
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --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.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ GROUPS
|
|||
(ALPHA) View and manage your Cloud Run jobs executions.
|
||||
|
||||
logs
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) services.
|
||||
(ALPHA) Read logs for Cloud Run jobs.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
NAME
|
||||
gcloud alpha run jobs logs - read logs for Cloud Run (fully managed)
|
||||
services
|
||||
gcloud alpha run jobs logs - read logs for Cloud Run jobs
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs logs COMMAND [--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) services.
|
||||
(ALPHA) Read logs for Cloud Run jobs.
|
||||
|
||||
EXAMPLES
|
||||
To tail logs executions for a job, run:
|
||||
|
|
@ -31,14 +30,16 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
read
|
||||
(ALPHA) Read logs for a job.
|
||||
(ALPHA) Read logs for Cloud Run jobs.
|
||||
|
||||
tail
|
||||
(ALPHA) Tail logs for a job.
|
||||
(ALPHA) Tail logs for Cloud Run jobs.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta run jobs logs
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run jobs logs read - read logs for a job
|
||||
gcloud alpha run jobs logs read - read logs for Cloud Run jobs
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs logs read JOB [--freshness=FRESHNESS; default="1d"]
|
||||
|
|
@ -13,7 +13,7 @@ DESCRIPTION
|
|||
might be intermingled in the results.
|
||||
|
||||
EXAMPLES
|
||||
To read log entries from for a Cloud Run Job, run:
|
||||
To read log entries from for a Cloud Run job, run:
|
||||
|
||||
$ gcloud alpha run jobs logs read my-job
|
||||
|
||||
|
|
@ -78,5 +78,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta run jobs logs read
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run jobs logs tail - tail logs for a job
|
||||
gcloud alpha run jobs logs tail - tail logs for Cloud Run jobs
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run jobs logs tail JOB [--log-filter=LOG_FILTER]
|
||||
|
|
@ -49,5 +49,7 @@ NOTES
|
|||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud beta run jobs logs tail
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ GROUPS
|
|||
GROUP is one of the following:
|
||||
|
||||
logs
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) revisions.
|
||||
(ALPHA) Read logs for Cloud Run revisions.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run revisions logs - read logs for Cloud Run (fully managed)
|
||||
revisions
|
||||
gcloud alpha run revisions logs - read logs for Cloud Run revisions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run revisions logs COMMAND
|
||||
|
|
@ -10,7 +9,7 @@ SYNOPSIS
|
|||
| --context=CONTEXT --kubeconfig=KUBECONFIG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) revisions.
|
||||
(ALPHA) Read logs for Cloud Run revisions.
|
||||
|
||||
FLAGS
|
||||
--platform=PLATFORM; default="managed"
|
||||
|
|
@ -97,10 +96,10 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
read
|
||||
(ALPHA) Read logs for a revision.
|
||||
(ALPHA) Read logs for a Cloud Run revision.
|
||||
|
||||
tail
|
||||
(ALPHA) Tail logs for a revision.
|
||||
(ALPHA) Tail logs for a Cloud Run revision.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run revisions logs read - read logs for a revision
|
||||
gcloud alpha run revisions logs read - read logs for a Cloud Run revision
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run revisions logs read REVISION
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run revisions logs tail - tail logs for a revision
|
||||
gcloud alpha run revisions logs tail - tail logs for a Cloud Run revision
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run revisions logs tail REVISION [--log-filter=LOG_FILTER]
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ GROUPS
|
|||
GROUP is one of the following:
|
||||
|
||||
logs
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) services.
|
||||
(ALPHA) Read logs for Cloud Run services.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run services logs - read logs for Cloud Run (fully managed)
|
||||
services
|
||||
gcloud alpha run services logs - read logs for Cloud Run services
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run services logs COMMAND
|
||||
|
|
@ -10,7 +9,7 @@ SYNOPSIS
|
|||
| --context=CONTEXT --kubeconfig=KUBECONFIG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Read logs for Cloud Run (fully managed) services.
|
||||
(ALPHA) Read logs for Cloud Run services.
|
||||
|
||||
FLAGS
|
||||
--platform=PLATFORM; default="managed"
|
||||
|
|
@ -97,10 +96,10 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
read
|
||||
(ALPHA) Read logs for a service.
|
||||
(ALPHA) Read logs for a Cloud Run service.
|
||||
|
||||
tail
|
||||
(ALPHA) Tail logs for a service.
|
||||
(ALPHA) Tail logs for a Cloud Run service.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run services logs read - read logs for a service
|
||||
gcloud alpha run services logs read - read logs for a Cloud Run service
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run services logs read SERVICE
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud alpha run services logs tail - tail logs for a service
|
||||
gcloud alpha run services logs tail - tail logs for a Cloud Run service
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha run services logs tail SERVICE [--log-filter=LOG_FILTER]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue