Quick BI supports user-created Kylin data sources. If your business data is stored in a Kylin database, you must add a Kylin data source to Quick BI before you use Quick BI to process data. This topic describes how to add a user-created Kylin data source in a group workspace.
Prerequisites
Make sure that your network meets the following requirements:
If you Quick BI connect to the Kylin database over the Internet, add the Quick BI IP address to the whitelist of the database. For more information, see Add security group rules.
If you want to connect Quick BI to your Kylin database over an internal network, make sure that one of the following methods is used to ensure the connectivity between Quick BI and the user-created Kylin data source:
If the Kylin database is deployed on an Elastic Compute Service (ECS) instance, you can use a virtual private cloud (VPC) to access the data source.
You can deploy a jump server and access the database over an SSH tunnel.
A user-created Kylin database is created. The username and password that are used to access the Kylin database are obtained.
Background information
Apache Kylin is an open-source, distributed analytical data warehouse that provides SQL query interfaces and multidimensional analysis (OLAP) capabilities on top of Hadoop/Spark to support ultra-large-scale data queries. For more information, see Kylin.
Procedure
Log on to the Quick BI console.
Perform the steps that are shown in the following figure to add a user-created Kylin data source.
Go to the Create Data Source page.
Click Show More.
Select the Kylin data source.
In the Add Kylin Data Source dialog box, configure the parameters.
Feature
Description
Name
The name of the data source. The name is displayed in the data source list. The name cannot contain special characters or start or end with spaces.
Database address
The address where the Kylin database is deployed, including the IP address or domain name.
Port Number
The port that is used to deploy the Kylin database.
Instance
The custom name of the database. The name is specified when you create the database.
Username
The username that is used to log on to the database. Make sure that the username has the create, insert, update, and delete permissions on the tables in the database.
Password
The password that is used to log on to the database.
VPC Data Source
If the Kylin database is deployed on a ECS and the network type is Alibaba Cloud VPC, select VPC Data Source and configure the following parameters:
AccessKey ID: the AccessKey ID that is used to purchase the instance.
For more information, see Obtain an AccessKey pair.
AccessKey: the AccessKey secret that is used to purchase the instance.
For more information, see Obtain an AccessKey pair.
Instance ID: the ID of the ECS instance.
Region: the region in which the ECS instance is deployed.
SSH
If you select SSH, you must configure the following parameters:
You can deploy a jump server and access the database over an SSH tunnel. To obtain the jump server information, contact O&M personnel or system administrators.
SSH Host: the IP address of the jump server.
SSH Username: the username that is used to log on to the jump server.
SSH Password: the password that is used to log on to the jump server.
SSH Port Number: the port number that is used to connect to the jump server. Default value: 22.
For more information, see Connect to a Linux instance by using a password.
Click Test Connection to verify that the data source can be connected.
Click OK.
What to do next
After you add a data source, you can create a dataset and analyze data.
For more information about how to add tables in the Kylin database or custom SQL statements to the Quick BI, see Create and manage datasets.
You can add charts for data analysis. For more information, see Create a dashboard and Overview of visualization charts.
Drill down the data for in-depth data analysis. For more information, see the Configure the drilling feature section of the "Drilling" topic.