How to set Attributes for Analytics

Follow these steps to set Attributes for analytics.

The First Move

As mentioned previously in the introduction, Fogwing IoT Analytics Studio requires attributes to be declared in Fogwing IIoT Platform. Upon declaration of attributes in Fogwing IIoT Platform, those data points alone are pushed to analytics studio for generation of analytical metrics in a user controlled format.

What are attributes? Attributes are parameters or data points generated by the machine or device as recognized and classified under. Example: Temperature, Humidity, Volt, Speed, Weight, Status, Battery and so on.

Note: Declaring 'Attribute' is a pre-requisite for Fogwing IoT Data Analytics.

To Set Attributes:

  1. Login to your Fogwing Industrial IoT Platform account. If you don't have Fogwing Platform access, you can create one by here: https://enterprise.fogwing.net/

  2. Go to the Edge page by clicking the "Edge Devices" from the 'Edge Network' option on the menu list.

  3. Upon selecting 'Edge Devices', click the 'Add Edge Device' button on the top right corner of the Edge Device page.

  4. Add an Edge Device on the 'General' tab of the 'Add Edge Device' page.

  5. Soon after adding an Edge, if you wish to declare attributes, click the 'Attribute' tab from the 'Add Edge Device' page. Fill in the required details to declare attribute as shown below.

    1. Attribute Key - This is the key from the inbound JSON payload that you device or system generates. The key attribute is case sensitive, so it should match as it is in the device data.

    2. Data Type - This filed required to generate proper metrics. Analytical metrics offered in Fogwing IoT Analytics Studio are generated based on the JSON datatype of the attribute.

    3. Based on the data type selected from the dropdown either "Minimum" and "Maximum" or "Default" field will be required to enter.

      1. The "minimum" and "maximum" fields will be displaying only if the data type is number.

      2. If the data type is String or Boolean, the "Default" field will be displaying to capture the acceptance.

    4. The UoM field refer the unit of measure of the data point. Therefore it should be mandatory to declare for better display in the analytics metrics.

    5. Finally the Attribute Name is optional field to give meaningful name for the attributes key. If the Attribute Name is declared then Analytics screens will take that user friendly title as data point title. Otherwise the system generated attribute key will be displaying.

  6. Once the Attribute is declared, IoT Data regarding the declared attribute will be sent to Fogwing IoT Analytics Studio.

If you are unfamiliar with Fogwing Platform and it's device configuration, you should go through the Fogwing device management documents here.

Last updated