Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document provide provides a step-by-step guide of how to view viewing Cloud Data Fusion pipeline logs in Stackdriver.

...

To use Stackdriver Logging with your Cloud Data Fusion pipeline, you need to enable Stackdriver Logging when you create your Cloud Data Fusion instance.

...

Data Fusion

...

instance

...

Click Show advanced options.

...

.

...

Note

Cloud Data Fusion Beta supports enabling/disabling Stackdriver Logging only during instance creation. After you create a Cloud Data Fusion instance, you can’t update the Stackdriver Logging option.

  1. In the GCP Console Data Fusion Instances page, click Create instance.

  2. Click Show advanced options.

  3. Under Logging and monitoring, click Enable Stackdriver logging service.

...

Viewing logs in Stackdriver

...

  1. After your pipeline has successfully run, click Summary.

  2. In the Summary page, click the Table link.

  3. Click on the RunId link to view and copy to clipboard.

Viewing logs

...

  1. Go to the Stackdriver

...

  1. Logging > Logs Viewer page in the GCP Console.

  2. Select Cloud Dataproc Cluster

...

  1. > cdap-<pipeline-name>-<runId>.

...

Filtering logs

You can use the filter options filter to filter the logs you see. You can filter by component such as datafusion-pipeline-logs or yarn-resourcemanager logs, or you can filter by various log levels. Use the dropdown menu to choose a filter.

...