Data Cleansing

    Click New Rule to create a new rule in the rule page, as shown below.

    In the rule editing interface, fill in the rule information, as shown below.

    data-stream-rules-add-action

    • Fill in the Rule ID and statement.
    • Click on Add button to add sink action for the rule, you may add more than one sink action for each rule, see step 3 for details.

    1. Drop down to select sink, e.g select mqtt.
    2. Fill in the MQTT broker address.
    3. Fill in the MQTT topic, in this case, we have .
    4. Click on Submit button to complete the sink action.

    After the action is added, as shown below.

    data-stream-rules

    Start the rule, as shown below.

    Start MQTTX client, subscribe the topic , the result is shown below.

    TIP

    The node_name used in this example is modbus-tcp-1 and the group_name is group-1, that is, the subscription topic is modbus-tcp-1/group-1.