Transforms
Last updated
Last updated
Transforms enables a user to manipulate the data which is being sent by the end device. User can choose which data fields to capture from incoming data and can perform calculations on the incoming data values to create derived attributes.
Select the device type from the dropdown for which you want to create/define a transform. Select the attributes in Raw Attributes section, modify display name if you want and add unit for the selected data fields if needed.
To add a Synthetic Attribute OR Derived Attribute click on Add Attribute in Synthetic Attributes Section. There are two approaches by which user can create derived attributes, first, a user can manually write an expression for the derived attribute or user can select a pre defined function and pass the existing attribute as parameters to the selected function. Check the example below for the reference.
Once you are done with the selection of attributes you can check how this transform will create your data in the end, you just need to click on Debug button in the bottom right corner of the screen.
Save the transform at the end once you are satisfied with the transform output or you can even change/update the transform with updated attributes later.