/
Viewing and downloading logs in the Pipeline Studio

Viewing and downloading logs in the Pipeline Studio

For each data pipeline run, CDAP generates logs to help you monitor data pipeline runs and debug issues. You can view logs and filter the log levels as soon as the pipeline run begins.

To view a log file, from the Preview page or Pipeline details page, click Logs:

To monitor the progress of a pipeline, click Logs while the pipeline is running.

Want to watch the video?

Viewing different log levels

When viewing the pipeline log messages, you can filter the logs by different levels:

  • Error

  • Warning

  • Informational

  • Debug

  • Trace

To set the log level, click the drop-down menu next to Level and select the types of messages you want to appear in the log:

Basic and advanced logs

For each pipeline run, you can view basic or advanced logs. Basic logs include messages about the stages of the pipeline. Advanced logs include all of the basic messages as well as information about the cluster health and the execution engine.

To view advanced logs at any time during a pipeline preview or run, click View Advanced Logs:

To return to viewing basic logs, click Hide Advanced Logs.

Viewing the latest log messages

Starting in 6.1.4, when you view a log, the Pipeline Detail page displays the latest log messages. If you have a pipeline run with a large number of messages, you can click Scroll to Latest Logs to quickly jump to the latest messages.

Downloading logs

After a pipeline run completes, you can download a log file that includes all the advanced log messages and stack trace messages to help you debug any issues. To download the log, click Download All.

You can also view the raw log as plain text in a new browser tab. Click the drop-down menu next to Download All and select View Raw Logs.

 

Related content

Running a data pipeline
Running a data pipeline
More like this
BigQuery Pushdown Pipeline Metrics
BigQuery Pushdown Pipeline Metrics
Read with this
User-friendly Application and Pipeline Logs
User-friendly Application and Pipeline Logs
More like this
Deploying a data pipeline
Deploying a data pipeline
Read with this
Logging Microservices
Logging Microservices
More like this
Introduction to data pipelines
Introduction to data pipelines
Read with this

Created in 2020 by Google Inc.