Forwarding Data to DIS
Scenarios
Forwarding data to Data Ingestion Service (DIS) allows you to collect, process, and distribute real-time streaming data efficiently. DIS interconnects with multiple third-party data collection tools and provides cloud service connectors, agents, and SDKs. You can also dump data to other cloud services for subsequent data processing like data storage and analysis.
Purchasing a DIS Stream (Example: Forwarding Data to DIS and Dumping Data to OBS)
- Log in to the Object Storage Service (OBS) console.
- Click Create Bucket, configure the parameters as required, and click Create Now.
- In the bucket list, click the created bucket. The Objects page is displayed. Click Create Folder and enter a folder name as prompted.
- Access the Data Ingestion Service (DIS) service page.
- Click Access Console to go to the DIS console.
- Click Buy Stream in the upper right corner, configure parameters as required, and click Next. Figure 1 Buying a DIS stream

- In the navigation pane, choose Stream Management and click a purchased stream. Click the Dump Tasks tab. Click Create Dump Task. Set Dump Destination to OBS, Dump Bucket to the bucket created in 2, and File Directory to the folder created in 3. Click Create Now. Figure 2 Selecting a stream
Figure 3 Accessing the dump task tab
Figure 4 Configuring a dump task
Configuring IoTDA
You can configure data forwarding rules in IoTDA to forward data reported by devices to DIS.
- Access IoT Device Access and click Access Console. Click the target instance card.
- In the navigation pane, choose , and click Create Rule in the upper left corner.
- Set the parameters based on the table below. The following parameter values are only examples. You can create your own rules by referring to Procedure. After setting the parameters, click Create Rule.
Table 1 Rule parameters Parameter
Description
Rule Name
Description: Customize a name, for example, iotda-dis.
Description
Description: Customize a description, for example, forwarding data to DIS.
Data Source
Description: Select Device property.
Trigger
Description: Device property reported is automatically configured.
Resource Space
Description: Select All resource spaces.
- Click the Set Forwarding Target tab, click Add to set a forwarding target, and click OK.
Table 2 Forwarding target parameters Parameter
Description
Forwarding Target
Description: Select Data Ingestion Service (DIS).
Region
Description: Currently, you can only forward data to DIS in the same region. If IoTDA is not authorized to access the service in this region, configure cloud service access authorization as prompted.
Stream Homing
Description: Select either In-house stream or Delegated by others.
Stream
Description: Select a stream.
Figure 5 Creating a forwarding target - to DIS
- Click Enable Rule to activate the configured data forwarding rule.
Verifying Configurations
- You can use a registered physical device to access the platform and enable the device to report data.
- You can also use a simulator to simulate a device to report data. For details, see Developing an MQTT-based Simulated Smart Street Light Online.
Expected result:
Log in to the OBS console, click the bucket created in 2, and click the folder created in 3 to view the latest data forwarded from DIS to OBS.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot