Push Edge Data to Cloud
ThingsBoard Edge stores telemetry and attributes locally and synchronizes them to the ThingsBoard Server through Push to cloud rule nodes in the Edge rule chain. This recipe covers the default behavior and how to forward only part of the data.
Default behavior
Section titled “Default behavior”The built-in Edge root rule chain already forwards device data to the server through Push to cloud nodes. Unless you have modified the root rule chain:
- Post telemetry messages go through Save Timeseries to Push to cloud.
- Post attributes messages (client-side attributes published by devices) go through Save Client Attributes to Push to cloud. The server saves them as server attributes, because the node’s Attributes scope is Server attributes.
- Attributes Updated and Attributes Deleted messages go straight to Push to cloud.
To change the attribute scope that Push to cloud sends, see Attribute synchronization. To push attribute changes from the server to the Edge, see Attributes.
Push only a subset of data
Section titled “Push only a subset of data”To forward only specific message types or device groups to the server:
- Add a filter node, for example script or device profile switch, before the Push to cloud node.
- Route only matching messages to Push to cloud; let everything else pass through without forwarding.
- Click Apply changes.
For the full configuration reference and available node settings, see Telemetry synchronization.
Was this helpful?