This document details how to add an Object Storage Service (OSS) data source in DataV and provides instructions for configuring the necessary parameters. Alibaba Cloud's Object Storage Service (OSS) enables you to store and retrieve a wide variety of unstructured data files, including text, images, audio, and video, via the network at any time.
Prerequisites
The Object Storage Service (OSS) data source is prepared for addition.
Limits
Supports only Enterprise Edition or higher.
Add Object Storage Service OSS data source
Access the DataV console.
On the Workbench page, click Data Preparation > Data Source to access the Data Source page, and then click Create Data Source.
-
Select Type from the list and choose Object Storage OSS.
-
Enter the relevant OSS details.

Parameter
Description
Custom Data Source Name
The display name of the data source, which you can name freely.
AK ID
The AccessKey ID of the account with access privileges to the target OSS.
AK Secret
The AccessKey Secret of the account with access privileges to the target OSS.
Region
The external access region information of the target OSS. Enter the OSS Console and click your Bucket name to obtain it.

The OSS Bucket in the above image is located in the Shanghai area, so the Region should be filled in as oss-cn-shanghai.
-
After entering the information, click OK to finalize the addition of the data source.
The new data source will be automatically listed in the data source list.
Use Object Storage Service OSS data source
Access the DataV console.
In the console pane, move the pointer over the dashboard that you want to edit and click Edit.
ImportantIf you have not created a dashboard on the console page, create a dashboard by referring to Using a template to create a PC dashboard.
On the canvas editing page, click a widget on the canvas.
If no widget exists on the canvas, add a widget first. For more information, see Canvas operations.
On the right side of the canvas, click the Data Source tab.

-
In the Set Data Source module, select Data Source Type as Object Storage OSS.
-
From the Select Existing Data Source list, choose the configured Object Storage OSS data source.
-
In the File Path field, input the desired file path.
-
Click View Data Return Results to check the data retrieval outcome.
The format requirements for the content are as follows:
-
The file must be in JSON format.
-
File path format: oss://bucket/file. For instance, if your bucket name is myBucket and the file name is test.json, the path should be oss://myBucket/test.json.
-
What to do next
Once you have the raw data, you can consult datasource config for widget data adaptation.
FAQ
For additional questions, consult the FAQ about datasource config.