Skip to content

Sync logs and observability

The Cloud Data Ingestion (CDI) Sync Log dashboard allows you to monitor all data processed by CDI, verify whether data was synced successfully, and diagnose any issues with “incorrect” or missing data.

To access the sync logs, go to Data Settings > Cloud Data Ingestion and select the Sync Log tab.

Understanding the Sync Log dashboard

The main Sync Log page provides a high-level overview of all your sync runs, including an overview of recent syncs by their current or final status.

  • Running: Sync jobs that are currently in progress.
  • Success: Sync jobs that completed, and all rows were processed successfully.
  • Partial Success: Sync jobs that completed, but one or more rows encountered an error.
  • Error: Sync jobs that failed to complete.
  • Limit Exceeded: Sync jobs that stopped processing because a data limit was exceeded.

An example of sync logs with 6,576 total successes.

Sync logs also provide the following details for each sync:

  • Sync name: The name of the sync configuration.
  • Run ID: A unique identifier for a specific execution of the sync. Select this ID to view more details or to reference a sync run with Braze Support.
  • Status: The status of the run (success, partial success, error, running).
  • New rows read from source: The number of new rows pulled from your source for this run.
  • Results: A breakdown of how many rows succeeded or failed within the run.
  • Last “UPDATED_AT”: The timestamp of the most recent record processed in this sync run. File storage syncs don’t use an UPDATED_AT column to choose what to ingest, so don’t use this value to tell which files a run processed. For more information, see How do UPDATED_AT and last_timestamp_synced work for file storage syncs?
  • Run start time: When the sync job began.
  • Run duration: The total time the sync job took to complete.

Data retention

Sync log data, including all row-level payloads and error details, is retained for up to 30 days. Logs older than 30 days are automatically purged.

Sync run metadata such as the number of rows processed is retained for at least 12 months.

Filtering sync logs

You can filter the sync logs table to find specific runs. The available filters include:

  • Job start date: Select a predefined range (like “Last 30 days”) or a custom date range.
  • Status: Filter by one or more sync statuses (like showing only Error and Partial success statuses).
  • Sync name: Search for a specific sync by its name.

To investigate a specific sync, select the relevant Run ID from the Sync logs table. In the Run details page, you’ll find a granular, row-by-row log of the sync.

Run overview

This section summarizes the selected run, including its start time, end time, duration, and the total number of rows read from the source. It also provides a count of how many rows succeeded and how many resulted in an error.

For file storage syncs, this section shows a View file names link that lists the files the run ingested, instead of an UPDATED_AT value.

How errors are counted

The Error count in the run summary includes rows that failed validation or were rejected during sync. Rows dropped as in-batch duplicate IDs are not included in this count and don’t affect the run status (Success vs Partial Success), because the latest value for each ID was successfully synced. To view duplicate ID rows, filter Rows processed in this run by status Error and look for error type DUPLICATE_ID, or export using Export rows > All rows and filter on ERROR_TYPE = DUPLICATE_ID.

Rows processed in this run

This table provides row-level visibility into the data processed during the sync, allowing you to validate individual records.

  • Search: You can search for a specific user within the run’s results using the Search by user ID bar.
  • Available details:
    • UPDATED_AT: The timestamp from the UPDATED_AT column for that specific row.
    • ID: The user identifiers (such as external_id, email, or alias_name) used to match the record to a Braze user profile.
    • Status: The individual processing status for that row (Success or Error).
    • Source payload: A link to view the data payload.
    • Error reason: If the status is Error, this column provides a message explaining why the row failed to sync. For catalog syncs, rows with error type DUPLICATE_ID indicate that a newer row with the same ID was processed in the same batch. The latest value was synced successfully, so these rows are recorded for traceability but don’t count as errors in the run summary.

Viewing payloads

To see the exact data sent to Braze for a specific row, select View payload in the Source payload column. This displays the raw JSON payload that was processed for that user.

Exporting sync logs

Select Export rows to export the row-level logs for a sync run. Then, choose to export by:

  • Rows with errors: Downloads a file containing only the rows that had an Error status. This export is only available when the run has rows counted as errors (validation failures or rejections). Rows with error type DUPLICATE_ID (in-batch duplicates) are not included in this export because they don’t count as errors in the run summary. To export duplicate ID rows, use All rows instead.
  • All rows: Downloads a file containing every row processed in the run, including success, error, and duplicate ID rows. The export includes ERROR_TYPE and ERROR_MESSAGE columns to identify any issues.

Logs can’t be exported directly from the dashboard. After the export is generated, you’ll receive an email with a link to download the log export file.

Notifications

You can configure email notifications to stay informed about the status of your CDI syncs. These settings are configured when you create a sync and can be updated at any time.

Error notifications

At least one email address contact is required to receive notifications for sync-level errors. These alerts are sent when an entire sync job fails to run or complete, or if the sync runs into an error that requires user intervention to change, such as expired credentials or a missing source table.

Additional notifications include:

  • Row error: Receive alerts when a certain percentage of rows fail to update within a sync.
  • Failure threshold (%): Specify the percentage of row failures that should trigger an alert. For example, setting this to 1 sends a notification if 1% or more of the rows in a sync run result in an error.
  • Sync success: Receive a notification when a sync completes successfully.
  • Alert even if no rows change: When Sync success is enabled, optionally also notify when a successful sync run processes zero new or updated rows.

Sync Log compared to the CDI API

Use the Sync Log when you need row-level detail. Use the List job sync status endpoint when you need run-level status from an API or automation.

Detail Sync Log (dashboard) List job sync status (API)
Run status, start and finish times Yes Yes
Rows synced and rows with errors (counts) Yes Yes (rows_synced, rows_failed_with_errors)
Last UPDATED_AT processed Yes Yes (last_timestamp_synced)
Row-level payloads and Error reason Yes No
Export row-level logs Yes No
Who triggered the run (schedule, Sync Now, or API) No No

The API returns up to 10 runs per page and does not include row-level sink logs. To inspect individual rows, open the Run ID in Sync Log or use Export rows.

When a sync is paused

Run status in Sync Log (Error, Partial Success, and similar) describes a single run. Sync status on the syncs table (Active, Paused) describes whether the sync continues to schedule new runs. Check both when you troubleshoot.

You can pause an active sync from the syncs table. Some configuration problems also pause a sync. For visual mapper syncs, if a mapped column is removed from your source, the sync run fails and the sync is paused. For more information, see Handling schema changes.

New Stuff!