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.
- 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.
- Drop down to select sink, e.g select mqtt.
- Fill in the MQTT broker address.
- Fill in the MQTT topic, in this case, we have .
- Click on
Submit
button to complete the sink action.
After the action is added, as shown below.
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.