Skip to main content

Find a data source

Prerequisites

  • You need a role with the Can Read Data Source permission.

Steps

  1. Go to Usage > Data Sources. The list shows the data sources of your organization. Status shows Failed when Zenskar cannot connect to the system of a data source.
  2. Optional: To sort the list, click a column header. Click it again to sort in descending order, and a third time to remove the sorting.
  3. In Search Data Source, enter part of the name, and select the data source from the results. You can also click the data source in the list.
The screen of the data source opens. See Data Sources screen: controls and columns.

Add a data source

Prerequisites

Steps

You cannot delete a data source. You cannot change its data-source connector, connection settings, or access after you save it. Check the settings before you click SAVE SOURCE.
  1. Go to Usage > Data Sources.
  2. Click ADD DATA SOURCE. The Add New Data Source screen opens.
  3. Under Set Up Source, in Source Name, enter a name.
  4. In Source Type, select the data-source connector.
  5. Under Source Config, enter the connection settings. The fields depend on the data-source connector.
  6. Under Source Access, select Directly from Source for a remote data source, or Sync to Zenskar for a synced data source. When the data-source connector allows only one access, the dashboard selects it for you. When both are possible, Directly from Source is selected by default.
  7. Click SAVE SOURCE.
For a remote data source, the dashboard confirms the save. Click BACK to return to Data Sources. For a synced data source, the screen of the data source opens. Zenskar connects to the system, and lists the tables that it can copy. This can take a few minutes. Choose the tables next. See Choose the tables and columns to sync. See Add New Data Source screen: fields and their rules.

Choose the tables and columns to sync

Use the same steps to change the choice later.

Prerequisites

  • You need a role with the Can Update Data Source and Can Read Data Source permissions.

Steps

  1. Go to Usage > Data Sources, and click the synced data source. The Sync Required Tables & Columns screen lists the tables that Zenskar can copy. A billable metric can read only the tables and columns that you sync.
  2. Turn on the switch of each table to sync. To sync all tables, turn on the switch in the column header. Turning on a table syncs all its columns.
  3. Optional: To choose the columns of a table, click the add icon next to the name of the table. The Edit Table window lists the columns of the table, with Column Name and Data Type.
  4. In the Edit Table window, turn on the switch of each column to sync. To sync all columns, turn on the switch in the column header.
  5. Optional: Under Cursor, select the cursor column. It must be a column that you sync. Without a cursor column, each sync replaces the whole table in the synced usage data. See Cursor columns: which rows a sync adds.
  6. Under Primary Key, select one column.
  7. Click SAVE.
  8. Click FINISH SETUP.
Zenskar saves the choice. The Data Sources list opens. See Synced data source.

Change the sync frequency

Prerequisites

  • You need a role with the Can Update Data Source and Can Read Data Source permissions.

Steps

  1. Go to Usage > Data Sources, and click the synced data source.
  2. Under SYNC INFO, in Select Frequency, select how often to sync. Last Synced shows the time of the latest sync.
  3. Click FINISH SETUP.
Zenskar saves the sync frequency. The Data Sources list opens. See DATA SOURCE INFO and SYNC INFO.

Sync now, pause, or resume syncing

Prerequisites

  • To sync now, you need a role with the Can Read Data Source permission.
  • To pause or resume syncing, the role also needs the Can Update Data Source permission.

Steps

  1. Go to Usage > Data Sources, and click the synced data source.
  2. Click one of the following:
    • SYNC NOW, to start a sync right away, between the scheduled syncs.
    • PAUSE SYNC, to stop the scheduled syncs.
    • RESUME SYNC, to restart the scheduled syncs of a paused synced data source.
    While syncing is paused, the synced usage data stays as it was at the last sync. A billable metric reads that synced usage data.
See Synced data source.

Refresh a data source

Refresh a synced data source when the system has new kinds of records or new fields.

Prerequisites

  • You need a role with the Can Read Data Source permission.

Steps

  1. Go to Usage > Data Sources, and click the synced data source.
  2. Click REFRESH SOURCE. Zenskar reads the system again. This can take a few minutes. Refreshing does not change the connection settings.
The Sync Required Tables & Columns screen lists the current tables, with the new kinds of records and new fields as new tables and columns. To sync a new table or column, choose it. See Choose the tables and columns to sync.