Background information
When you configure a data forwarding parser, you must associate the parser with a data destination to which normal or error data is forwarded. You can specify only one data forwarding operation for each data destination.
You can use functions in the parser script to forward data to other topics or cloud services. For more information, see Forward data to destinations.
Create a data destination
- Log on to the IoT Platform console.
On the Overview page, click All environment. On the All environment tab, find the instance that you want to manage and click the instance ID or instance name.
- In the left-side navigation pane, choose .
In the upper-right corner of the Data Forwarding page, click Go to New Version to go to the new version.
Note
If you have performed this step, the Data Forwarding page of the new version appears after you choose Message Forwarding > Data Forwarding.
Click Data Destination. On the Data Destination tab, click Create Data Destination.
In the Create Data Destination dialog box, configure the parameters and click OK. The following table describes the parameters.
Parameter | Description |
Data Destination Name | The name of the data destination. You can specify a custom name. The name must be 1 to 30 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). |
Data Destination Description | The description of the data destination. |
Operation | Specify a data forwarding destination. For more information about the examples on how to configure the data forwarding feature, see Data forwarding examples. |
Optional. Repeat Step 5 and Step 6 to create multiple data destinations.
More operations
After you create a data destination, go to the Data Destination tab and find the data destination. You can perform multiple operations on the data destination. The following table describes the operations.
Operation | Procedure |
Modify | You can change the name, description, operation, and the settings that are related to the operation. Click Edit in the Actions column. In the Edit Data Destination dialog box, modify the parameters. Click OK.
|
Delete | Warning If one or more of your applications need to use the device data that is forwarded by a rule but you delete the data destination of the rule, your services may become unavailable. As a result, your business may be interrupted. Proceed with caution. Click Delete in the Actions column. In the message that appears, click OK.
|
What to do next
Configure a parser.
On the Data Destination tab, you can view the Status of each data destination, check whether a data destination is configured, and check whether data is forwarded to a data destination as expected.