Qlik Cloud
Important Capabilities
Capability | Status | Notes |
---|---|---|
Detect Deleted Entities | ✅ | Optionally enabled via stateful_ingestion.remove_stale_metadata |
Platform Instance | ✅ | Enabled by default |
This plugin extracts Qlik Cloud Spaces, Apps, and Datasets
Integration Details
This source extracts the following:
- Accessible spaces and apps within that spaces as Container.
- Qlik Datasets as Datahub Datasets with schema metadata.
Configuration Notes
- Refer doc to generate an API key from the hub.
- Get tenant hostname from About tab after login to qlik sense account.
Concept mapping
Qlik Cloud | Datahub |
---|---|
Space | Container |
App | Container |
Dataset | Dataset |
CLI based Ingestion
Install the Plugin
pip install 'acryl-datahub[qlik-cloud]'
Starter Recipe
Check out the following recipe to get started with ingestion! See below for full configuration options.
For general pointers on writing and running a recipe, see our main recipe guide.
source:
type: qlik-cloud
config:
# Coordinates
tenant_hostname: "https://xyz12xz.us.qlikcloud.com"
# Credentials
api_key: "QLIK_API_KEY"
# Optional - filter for certain space names instead of ingesting everything.
# space_pattern:
# allow:
# - space_name
# Whether personal space and apps and datasets should be ingested.
extract_personal_entity: false
ingest_owner: true
sink:
# sink configs
Config Details
- Options
- Schema
Note that a .
is used to denote nested fields in the YAML recipe.
Field | Description |
---|---|
api_key ✅ string | Qlik API Key |
tenant_hostname ✅ string | Qlik Tenant hostname |
extract_personal_entity boolean | Whether personal space, apps and datasets should be ingested. Default: False |
ingest_owner boolean | Ingest Owner from source. This will override Owner info entered from UI Default: True |
platform_instance string | The instance of the platform that all assets produced by this recipe belong to |
env string | The environment that all assets produced by this connector belong to Default: PROD |
space_pattern AllowDenyPattern | Regex patterns to filter Qlik spaces in ingestion Default: {'allow': ['.*'], 'deny': [], 'ignoreCase': True} |
space_pattern.allow array(string) | |
space_pattern.deny array(string) | |
space_pattern.ignoreCase boolean | Whether to ignore case sensitivity during pattern matching. Default: True |
stateful_ingestion StatefulStaleMetadataRemovalConfig | Qlik Stateful Ingestion Config. |
stateful_ingestion.enabled boolean | The type of the ingestion state provider registered with datahub. Default: False |
stateful_ingestion.remove_stale_metadata boolean | Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled. Default: True |
The JSONSchema for this configuration is inlined below.
{
"title": "QlikSourceConfig",
"description": "Base configuration class for stateful ingestion for source configs to inherit from.",
"type": "object",
"properties": {
"env": {
"title": "Env",
"description": "The environment that all assets produced by this connector belong to",
"default": "PROD",
"type": "string"
},
"platform_instance": {
"title": "Platform Instance",
"description": "The instance of the platform that all assets produced by this recipe belong to",
"type": "string"
},
"stateful_ingestion": {
"title": "Stateful Ingestion",
"description": "Qlik Stateful Ingestion Config.",
"allOf": [
{
"$ref": "#/definitions/StatefulStaleMetadataRemovalConfig"
}
]
},
"tenant_hostname": {
"title": "Tenant Hostname",
"description": "Qlik Tenant hostname",
"type": "string"
},
"api_key": {
"title": "Api Key",
"description": "Qlik API Key",
"type": "string"
},
"space_pattern": {
"title": "Space Pattern",
"description": "Regex patterns to filter Qlik spaces in ingestion",
"default": {
"allow": [
".*"
],
"deny": [],
"ignoreCase": true
},
"allOf": [
{
"$ref": "#/definitions/AllowDenyPattern"
}
]
},
"extract_personal_entity": {
"title": "Extract Personal Entity",
"description": "Whether personal space, apps and datasets should be ingested.",
"default": false,
"type": "boolean"
},
"ingest_owner": {
"title": "Ingest Owner",
"description": "Ingest Owner from source. This will override Owner info entered from UI",
"default": true,
"type": "boolean"
}
},
"required": [
"tenant_hostname",
"api_key"
],
"additionalProperties": false,
"definitions": {
"DynamicTypedStateProviderConfig": {
"title": "DynamicTypedStateProviderConfig",
"type": "object",
"properties": {
"type": {
"title": "Type",
"description": "The type of the state provider to use. For DataHub use `datahub`",
"type": "string"
},
"config": {
"title": "Config",
"description": "The configuration required for initializing the state provider. Default: The datahub_api config if set at pipeline level. Otherwise, the default DatahubClientConfig. See the defaults (https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/graph/client.py#L19).",
"default": {},
"type": "object"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"StatefulStaleMetadataRemovalConfig": {
"title": "StatefulStaleMetadataRemovalConfig",
"description": "Base specialized config for Stateful Ingestion with stale metadata removal capability.",
"type": "object",
"properties": {
"enabled": {
"title": "Enabled",
"description": "The type of the ingestion state provider registered with datahub.",
"default": false,
"type": "boolean"
},
"remove_stale_metadata": {
"title": "Remove Stale Metadata",
"description": "Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled.",
"default": true,
"type": "boolean"
}
},
"additionalProperties": false
},
"AllowDenyPattern": {
"title": "AllowDenyPattern",
"description": "A class to store allow deny regexes",
"type": "object",
"properties": {
"allow": {
"title": "Allow",
"description": "List of regex patterns to include in ingestion",
"default": [
".*"
],
"type": "array",
"items": {
"type": "string"
}
},
"deny": {
"title": "Deny",
"description": "List of regex patterns to exclude from ingestion.",
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
"ignoreCase": {
"title": "Ignorecase",
"description": "Whether to ignore case sensitivity during pattern matching.",
"default": true,
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
Code Coordinates
- Class Name:
datahub.ingestion.source.qlik_cloud.qlik_cloud.QlikCloudSource
- Browse on GitHub
Questions
If you've got any questions on configuring ingestion for Qlik Cloud, feel free to ping us on our Slack.
Is this page helpful?