Find a data source
Find a data source in the Data Sources list by name. You can also sort the list.Prerequisites
- You need a role with the Can Read Data Source permission. See Permissions.
Search for a data source by name
- Go to Usage > Data Sources.
- In Search Data Source, enter part of the name.
- Select the data source from the results.
Sort the list
- Go to Usage > Data Sources.
- Click a column header. The list sorts by that column in ascending order.
- Click the column header again to sort in descending order.
- Click the column header a third time to remove the sorting.
Add a data source
Add a data source to read usage from a system in your data infrastructure. Its data-source connector, connection settings, and access cannot change after you save it.Prerequisites
- You need a role with the Can Create Data Source and Can Read Data Source permissions. See Permissions.
- You need the connection details of the system. The document of each data-source connector lists what its connection needs. See Data-source connectors.
Set up the source
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 save.
- Go to Usage > Data Sources.
- Click ADD DATA SOURCE. The Add New Data Source screen opens.
- Under Set Up Source, in Source Name, enter a name. The name can contain letters, digits, underscores, hyphens, and spaces.
- In Source Type, select the data-source connector.
- Under Source Config, enter the connection settings. The fields depend on the data-source connector.
- 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.
- Click SAVE SOURCE.
Fix a failed save
- Zenskar does not save the data source when Source Name is empty or has other characters. Correct the name.
- Zenskar does not save the data source when a required connection setting is missing. Fill in each marked field.
- When Zenskar cannot connect to the system, the screen of the data source shows the reason instead of the tables. Add a new data source with corrected settings.
Choose the tables and columns to sync
Choose which tables and columns of a synced data source Zenskar copies. A billable metric can read only the synced usage data. 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. See Permissions.
Choose the tables
- Go to Usage > Data Sources. Click the synced data source. The Sync Required Tables & Columns screen lists the tables that Zenskar can copy.
- Turn on the switch of each table to sync. Turning on a table syncs all its columns. To sync all tables, turn on the switch in the column header.
- Click FINISH SETUP.
Choose the columns, the cursor column, and the primary key
- On the Sync Required Tables & Columns screen, 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.
- Turn on the switch of each column to sync. To sync all columns, turn on the switch in the column header.
- Optional: Under Cursor, select the cursor column. It must be a column that you sync.
- Under Primary Key, select one column.
- Click SAVE.
- Click FINISH SETUP.
Change the sync frequency
Change how often Zenskar copies the data of a synced data source.Prerequisites
- You need a role with the Can Update Data Source and Can Read Data Source permissions. See Permissions.
Change the frequency
- Go to Usage > Data Sources. Click the synced data source.
- Under SYNC INFO, in Select Frequency, select how often to sync: every 1, 2, 3, 4, 6, 12, or 24 hours. Last Synced shows the time of the latest sync.
- Click FINISH SETUP.
Sync now, pause, or resume syncing
Start a sync of a synced data source right away, or stop and restart its scheduled syncs.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. See Permissions.
Sync now
- Go to Usage > Data Sources. Click the synced data source.
- Click SYNC NOW.
Pause or resume syncing
- Go to Usage > Data Sources. Click the synced data source.
- Click PAUSE SYNC. To restart scheduled syncs later, click RESUME SYNC.
Refresh a data source
Refresh a synced data source when the system has new kinds of records or new fields. Zenskar then shows them as new tables and columns.Prerequisites
- You need a role with the Can Read Data Source permission. See Permissions.
Refresh the tables and columns
- Go to Usage > Data Sources. Click the synced data source.
- Click REFRESH SOURCE. Zenskar reads the system again. This can take a few minutes.