gcloud ai-platform jobs stream-logs Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud ai-platform jobs stream-logs - show logs from a running AI Platform job
- SYNOPSIS
gcloud ai-platform jobs stream-logsJOB[--allow-multiline-logs][--polling-interval=POLLING_INTERVAL; default=60][--task-name=TASK_NAME][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Show logs from a running AI Platform job.
- EXAMPLES
- To show the logs from running the AI Platform job
, run:my-jobgcloudai-platformjobsstream-logsmy-job - POSITIONAL ARGUMENTS
JOB- Name of the job.
- FLAGS
--allow-multiline-logs- Output multiline log messages as single records.
--polling-interval=POLLING_INTERVAL; default=60- Number of seconds to wait between efforts to fetch the latest log messages.Overrides the default
ml_engine/polling_intervalproperty value forthis command invocation. --task-name=TASK_NAME- If set, display only the logs for this particular task.
- 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 helpfor details. - NOTES
- These variants are also available:
gcloudalphaai-platformjobsstream-logsgcloudbetaai-platformjobsstream-logs
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.