# Transaction Logs

The Transaction Logs section provides comprehensive details about all transactions made to the tables. This feature is crucial for auditing, tracking changes, and ensuring data integrity.

## 1. Transaction details

The transaction details include the following:

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FVPdQmaLv8gcwJMycTEtp%2Fimage.png?alt=media&#x26;token=94831cd6-535a-49d9-98ed-b478aa1ae6a5" alt=""><figcaption><p>Transaction logs</p></figcaption></figure>

* **Transaction ID**: Unique identifier for each transaction.
* **Table Name**: Name of the table involved in the transaction.
* **Database Name**: Name of the database where the table resides.
* **Source Name**: Name of the data source (Azure SQL, Snowflake, etc.)
* **Transaction Type**: Type of transaction, which can be **Insert, Update, Delete or SCD Update** (Slowly Changing Dimension Update)
* **Row Count**: Number of rows affected by the transaction.
* **Duration**: Time taken to complete the transaction.
* **Status:** The transaction's status, whether successful or failed.
* **Started By:** Name of the user who started the transaction
* **Started At:** Date and time of the transaction.

## 2. Search and filter transactions

Users can look for a specific transaction using the search and filter options available here.

* **Search by Transaction ID**: Search for specific transactions using their unique Transaction ID.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FAcOsxjnm4ONUIAGJqEJv%2Fimage.png?alt=media&#x26;token=b31d10e5-ea04-48ed-b970-16d5d41f5d6f" alt=""><figcaption><p>Search by Transaction ID</p></figcaption></figure>

* **Filter by Transaction Type**: Filter transactions by their type (Insert, Update, Delete, SCD Update, SCD Delete).

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2Ff9WFDek3UUAVUZy8s79v%2Fimage.png?alt=media&#x26;token=ac211d5a-1023-4b1d-a2f2-10ad6d8d74be" alt=""><figcaption><p>Filter by transaction type</p></figcaption></figure>

* **Filter by User (Account Name):** Filter transactions based on who initiated them.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FcaSYJMwRjtLPxsiu2vLF%2Fimage.png?alt=media&#x26;token=2c363f2c-14a8-4b3d-96fc-d635409140b6" alt=""><figcaption><p>Filter by user</p></figcaption></figure>

* **Filter by Table Name:** Filter transactions based on the table name where they were performed.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FmmZx4o2NXMtWM7clJzAi%2Fimage.png?alt=media&#x26;token=449a9272-91ce-4dc8-bb57-5ef82d8e417b" alt=""><figcaption><p>Filter by table</p></figcaption></figure>

* **Filter by Source Name**: Filter transactions based on the data source.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2F6lKStIrgznNwNQjFWKkO%2Fimage.png?alt=media&#x26;token=8b6136b2-e8c3-49d8-b2af-67802411cb23" alt=""><figcaption><p>Filter by data source</p></figcaption></figure>

* **Status:** Filter transactions based on their status (success or failure). You'll find this under the 'More' option.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FfdcRHNttLKGsY3JxVtwl%2Fimage.png?alt=media&#x26;token=0b2d4e97-b787-40d6-b001-4e720accc3cd" alt=""><figcaption><p>Filter by status</p></figcaption></figure>

Under the 'More' option, you'll have two more filters, as below:

* **Start time:** Filter transactions within a specific date range.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FbCtLqjUCvubVA2USs9Qh%2Fimage.png?alt=media&#x26;token=a20c17a9-400f-433e-ba9f-52e0a2233f78" alt=""><figcaption><p>Filter by date range</p></figcaption></figure>

* **Job Type:** Filter transactions by job type, whether they are direct transactions or have gone through an approval flow.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FChdk3E6jfawAq8jQshV7%2Fimage.png?alt=media&#x26;token=c14f2a14-c978-4914-b3c7-68c652549a7d" alt=""><figcaption><p>Filter by job type</p></figcaption></figure>

**Remove Filter:** To remove a specific filter, select the 'Clear' option from the relevant selection dropdowns. To clear all filters, select the **Reset All** option.

## 3. Export transaction Logs

You can export and download the transaction logs to an Excel or CSV file.

1. Click on the **Export** option.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FLKmq27SX3LEeLzeLSyHw%2Fimage.png?alt=media&#x26;token=52e51358-eba8-4e2e-8423-d0b18777ff22" alt=""><figcaption><p>Export</p></figcaption></figure>

2. Choose the file type you want to export and the logs' date range.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FMCIeMQgoLVCT7U6zqVZX%2Fimage.png?alt=media&#x26;token=8883cf2a-dcac-486b-a42e-cadd602976d2" alt=""><figcaption><p>File type and date range</p></figcaption></figure>

3. Click on **Export** and then **Download** to download the file.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2Fh3JBfrJzzqe1S9Xns6Cv%2Fimage.png?alt=media&#x26;token=4eaff14d-977f-4c7f-bc7a-b10e38386903" alt=""><figcaption><p>Export and download</p></figcaption></figure>

## **4. General details**

When you click on a specific transaction/job, you will be taken to a page with detailed information about the transaction, as shown below.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FczjqqUfcsFJUPo5PlfTT%2Fimage.png?alt=media&#x26;token=3a138ace-01a9-415d-a2d1-95ccc9ae859f" alt=""><figcaption><p>General information</p></figcaption></figure>

You'll also be able to view the completed milestones in the transaction.

**Milestone:** A milestone represents the stages of the job's progress. It is divided into levels, with each level giving the user a clear indication of the job's advancement. Within each level, there are multiple events or sub-milestones.

**Sub-milestones:** These are a collection of smaller activities or tasks that, when completed, help to achieve an individual milestone. The sub-milestones help to break down larger milestones into more manageable steps, allowing for more detailed progress tracking while still contributing to the overall goal.&#x20;

Let's take an example where we track the status and progress of the initiated transaction.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2F7ZxgJnPr6MEYtp7f6jcj%2Fimage.png?alt=media&#x26;token=03ce7345-3c06-4919-85ac-c1a2be3821cf" alt=""><figcaption><p>Milestones and events</p></figcaption></figure>

In case of failed transactions, the above details help in understanding in which stage the issue actually occurred.

## 5. Error details

For failed jobs, an additional tab called 'Error Details' becomes available. This section includes information about the errors that occurred during the job run.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2F01sBIYkrEHcgBQ88JMe0%2Fimage.png?alt=media&#x26;token=ca06ef31-c442-4daf-8468-960c8df03620" alt=""><figcaption><p>Error Details</p></figcaption></figure>

This page has search and filter capabilities similar to any log, allowing you to find and filter specific error details.

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FkQlySczLhEAqrLBBECzj%2Fimage.png?alt=media&#x26;token=e718bf75-1807-4519-96d0-d8d8ece70814" alt=""><figcaption><p>Search and filter errors</p></figcaption></figure>

You can copy the error message using the one-click copy option or download the error log by clicking **Download Logs.**&#x20;

<figure><img src="https://608526116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpYgiTFFEktmDlcxUGTv%2Fuploads%2FdHPmnWCo9JZcQKtBIiUJ%2Fimage.png?alt=media&#x26;token=12397062-2bcf-4f73-9345-6f85a712087c" alt=""><figcaption><p>Download log or copy error message</p></figcaption></figure>
