This document describes how to view, update, and delete Knowledge Catalog (formerly Dataplex Universal Catalog) connector jobs used for metadata import.
Before you begin
To manage connector jobs, you need the appropriate IAM roles. See IAM roles for details.
- To view jobs and run history:
- BigQuery User (
roles/bigquery.user) - Dataplex Viewer (
roles/dataplex.viewer)
- BigQuery User (
- To edit, delete, or manually trigger jobs:
- BigQuery Admin (
roles/bigquery.admin) - Dataplex Administrator (
roles/dataplex.admin) or Dataplex Editor (roles/dataplex.editor)
- BigQuery Admin (
You need to enable the BigQuery Data Transfer Service.
Additionally, you must grant the BigQuery Data Transfer Service service agent
(service-PROJECT_NUMBER@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com)
the dataplex.entryGroups.import permission or the
Dataplex Entry Group Importer (roles/dataplex.entryGroupImporter)
role. This can be granted either at the project level or at the entry group
level.
View connector jobs
In the Google Cloud console, go to the Knowledge Catalog page.
In the navigation menu, in the Manage section, click Connectors. The Connectors page lists all metadata import jobs in your project.
To view the details, run history, or configuration of a specific job, click its display name in the list.
View job run history and logs
For any connector job, you can view the history of its runs, including successful and failed runs. Job runs older than 90 days are automatically deleted.
- On the Connectors page, click the display name of the job you want to view.
- Click the Run history tab. This tab displays recent job runs.
- To view logs for a specific run, find the run in the list and click View details.
Logging and monitoring
Knowledge Catalog metadata connectors export logs and metrics to Cloud Monitoring and Cloud Logging that provide observability into your import configurations. You can use Monitoring to set up dashboards to monitor metadata import configurations, evaluate run performance, and view error messages to troubleshoot run failures. You can use Logging to view logs related to a run or a configuration.
Update a connector job
You can modify the configuration of an existing job, including its schedule, destination entry group, notification settings, and the source objects to import.
- On the Connectors page, click the display name of the job you want to update.
- Click Edit.
- Modify the job configuration as needed.
- Click Save.
Disable or enable a connector job
When you disable a job, its name is updated with a disabled status, and no
new job runs are scheduled. Any runs already in progress are completed.
Disabling a job does not remove metadata already imported into
Knowledge Catalog.
- On the Connectors page, find the job you want to disable or enable.
- Click Actions, and then select Disable or Enable.
Delete a connector job
When you delete a job, no new runs are scheduled, and any runs in progress are stopped. Deleting a job does not remove metadata already imported into Knowledge Catalog.
- On the Connectors page, find the job you want to delete.
- Click Actions, and then select Delete.
- To confirm, type
deleteand click Delete.
Manually trigger a job
You can start a job run outside of its regular schedule. This is sometimes called a backfill.
- On the Connectors page, click the display name of the job you want to run.
Click Run transfer now, and select Run one time transfer.