Use Analyzed Message Links to Deliver Analytics Results

Use analyzed message links to send data messages or alerts with the results of your analytics processing.

  1. Go to your IoT application, select Analytics, and then select Links.
  2. Create the link:
    1. If this is your first link, click Create Link. Otherwise, click Add next to the Search field.
    2. Enter a name to identify your link.
      The name must only contain alphanumeric characters and must not contain spaces.
    3. (Optional) Enter a brief description.
    4. Click Create.
  3. From the Type list, select Analyzed Message.
    The properties below the Type list change.
  4. Fom the Message Format list, select an existing message format, or create a new message format. To create a new message format:
    1. Click Create Message Format Add icon.
    2. Click OK.
    3. Provide a name and a URN (uniform resource name) to identify the message format.
    4. Select a message type:

      The message type determines the nature of the message and how it appears in Oracle Internet of Things Cloud Service.

      Available types are:

      • Data: Use this type to communicate regular values or events. For information on how to monitor data messages, see Managing Device Data Messages.

      • Alert: Use this type to communicate outstanding events or values out of range. For information on how to monitor alerts, see Managing Alert Messages.

    5. (Optional) Click Add Add icon in the Attributes section to add new attributes to this new message format.
    6. Click Save.
    7. From the Message Format list, select the message format you created.
    You can only use these message formats from analyzed message links.
  5. Click Save.
The analyzed message link is saved and the classname field now shows the automatically generated fully qualified named for the Java class that corresponds to this message format. You can use this Java class from the code of your analytics processor.