---
name: watsonxdata-ingest_sparklogshistory
title: Accessing Spark logs for ingestion jobs
description: This topic provides the steps required to locate and view Spark logs associated with submitted ingestion jobs within IBM&reg; watsonx.data. By accessing these logs, you can gain valuable insights into the execution details, potential error messages related to the ingestion process, and troubleshooting ingestion jobs.
last-updated: 2024-12-10
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/watsonxdata?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

{:javascript: #javascript .ph data-hd-programlang='javascript'}
{:java: #java .ph data-hd-programlang='java'}
{:ruby: #ruby .ph data-hd-programlang='ruby'}
{:php: #php .ph data-hd-programlang='php'}
{:python: #python .ph data-hd-programlang='python'}
{:external: target="_blank" .external}
{:shortdesc: .shortdesc}
{:codeblock: .codeblock}
{:screen: .screen}
{:tip: .tip}
{:important: .important}
{:note: .note}
{:deprecated: .deprecated}
{:pre: .pre}
{:video: .video}

# Accessing Spark logs for ingestion jobs
{: #ingest_sparklogshistory}

This topic provides the steps required to locate and view Spark logs associated with submitted ingestion jobs within IBM&reg; watsonx.data. By accessing these logs, you can gain valuable insights into the execution details, potential error messages related to the ingestion process, and troubleshooting ingestion jobs.
{: shortdesc}

## Before you begin
{: #ingest_sparklogshistorybyb}

For a **Failed** or **Finished** status, you must start the Spark history server to get the ingestion log details. For more information, see [Accessing the Spark history server](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-wxd_spk_histry&format=markdown).

## Procedure
{: #ingest_sparklogshistoryprcdre}

1. Log in to watsonx.data console.

2. From the navigation menu, select **Data manager** and click **Ingestion history** tab.

3. Click a specific **Job log** to get the details and logs of that ingestion job.

4. Click **Spark application history** to get log details based on the status of the ingestion job as follows:

   **Starting**: If the ingestion job is in **Starting** status, **Spark application history** is disabled.

   **Running**: If the job status is **Running**, clicking **Spark application history** will generally take you to the Spark UI. You can monitor the ingestion job progress, resource usage, and other details in real-time through this web interface. This Spark UI information will be temporarily available only when the job is in the **Running** status.

   **Failed** or **Finished**: If the job status is **Failed** or **Finished**, clicking **Spark application history** will navigate you to the Spark history UI. This interface provides a summary of the ingestion job execution, including its timeline, resource usage, and any error messages.

   **Cancelled**: If the job is **Cancelled**, **Spark application history** is disabled.