View pipeline job logs

After you define, build, and run a pipeline, you can view and query log entries for your pipeline job and pipeline tasks. Learn more about log entries for the Vertex AI API.

This feature has costs associated with it. Learn more about Cloud Logging pricing.

View Vertex AI logs for pipeline jobs

Use the following instructions to view logs for your Vertex AI Pipelines jobs in the Google Cloud console or the Google Cloud CLI.

Console

  1. Enable the Cloud Logging API:

    Enable the API

  2. In the Google Cloud console, go to the Logs Explorer:

    Go to the Logs Explorer

  3. Select an existing Vertex AI project at the top of the page.

  4. In the Query builder, add the following:

    • Resource: Select Vertex Pipelines Job. In the dialog, select a Vertex AI Pipelines job.
    • Log names: In the Vertex AI section, select aiplatform.googlapis.com/pipeline_job_events.
    • Severity: Select a log level.
    • Time range: Select a preset range or create a custom range.

gcloud

  1. Run the following command to enable the Cloud Logging API:

    gcloudservicesenablelogging.googleapis.com
    
  2. Execute the gcloud logging read command:

    Linux, macOS, or Cloud Shell

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_events"\
    --limit=LIMIT

    Windows (PowerShell)

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_events"`
    --limit=LIMIT

    Windows (cmd.exe)

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_events"^
    --limit=LIMIT

View Vertex AI logs for pipeline tasks

Use the following instructions to view logs for your Vertex AI Pipelines tasks in the Google Cloud console or the Google Cloud CLI.

Console

  1. Enable the Cloud Logging API:

    Enable the API

  2. In the Google Cloud console, go to the Logs Explorer:

    Go to the Logs Explorer

  3. Select an existing Vertex AI project at the top of the page.

  4. In the Query builder, add the following:

    • Resource: Select Vertex Pipelines Job. In the dialog, select a Vertex AI Pipelines job.
    • Log names: In the Vertex AI section, select aiplatform.googlapis.com/pipeline_job_task_events.
    • Severity: Select a log level.
    • Time range: Select a preset range or create a custom range.

gcloud

  1. Run the following command to enable the Cloud Logging API:

    gcloudservicesenablelogging.googleapis.com
    
  2. Execute the gcloud logging read command:

    Linux, macOS, or Cloud Shell

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_task_events"\
    --limit=LIMIT

    Windows (PowerShell)

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_task_events"`
    --limit=LIMIT

    Windows (cmd.exe)

    gcloudloggingread"projects/PROJECT_ID/logs/aiplatform.googleapis.com/pipeline_job_task_events"^
    --limit=LIMIT

What's next

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 2025年11月24日 UTC.