Time Series Database (TSDB) integrates with IoT Platform to provide a complete IoT data pipeline: connect devices, route data through the rules engine, and store it in TSDB for monitoring, analysis, and big data workloads.
How it works
Data flows through three layers:
| Layer | Component | Role |
|---|---|---|
| Device connectivity | IoT Hub | Connects and manages IoT devices. Devices publish data to message topics. |
| Data routing | Rules engine | Processes message topic data and forwards it to a TSDB instance. Configure simple routing rules to define which data goes where. |
| Storage | TSDB | Stores the ingested time series data. Applications query TSDB for data analysis, monitoring, and big data analytics. |
Prerequisites
Before you configure the rules engine, make sure your environment meets all of the following requirements:
| Requirement | Details |
|---|---|
| Region | Only data collected by IoT Hub in the China (Shanghai) region can be forwarded to TSDB. |
| Network | Only TSDB instances that use a Virtual Private Cloud (VPC) are supported. |
| Same region | IoT Hub and the TSDB instance must be in the same region. For example, data from IoT Hub in China (Shanghai) can only be forwarded to a TSDB instance in China (Shanghai). |
| Data format | Only JSON-format data can be forwarded. |
If your TSDB instance does not use a VPC, or if your IoT Hub is outside China (Shanghai), this integration is not available.
Forward IoT device data to TSDB
Configure the rules engine in the IoT Platform console to route device data to your TSDB instance. Once configured, JSON data published by your IoT devices is routed to TSDB for storage and further processing.