Display live insights of your device’s health metrics

Get the code Watch the video

Summary

In this code pattern, we’ll demonstrate how to build a Cognos add-on to consume highly volatile streaming (real-time) data. From the traditional Cognos analytics dashboard (previous to 11.0.x version), it wasn’t possible to show the volatile and non-volatile data in a single dashboard. Therefore, the real-time data display was not directly possible. Now, however, with the latest features of Cognos Analytics 11.x, custom widgets can be built to display volatile data, and custom widgets can be used through extensions in Cognos dashboards.

Description

This code pattern demonstrates how to display live insights of your device’s health metrics from Cognos dashboard. In the automotive manufacturing industry, one of the key challenging tasks is to monitor devices and make an accurate decision about planned or unplanned maintenance. This code pattern can help a developer by providing the code which can be forked, and with minor changes, used in their Cognos application.

In this code pattern, we’ll build a Cognos add-on to consume highly volatile streaming (real-time) data. The real-time dashboard displays a mix of data (volatile and non-volatile) on a single dashboard–showing a dancing chart that captures volatile data and incrementally updates itself. This pattern demonstrates displaying live-insights of the devices health metrics within Cognos dashboard.

After completing this code pattern, you’ll understand how to:

  • Build Cognos custom widgets
  • Integrate Java Script built extension within Cognos dashboard
  • Display mix of historical and live streaming IoT data in Cognos dashboard
  • Interact with widgets within the same Cognos dashboard

Flow

flow

  1. Develop the code (includes spec.json, js, css, images) to build Cognos custom widget (extensions).
  2. Bundle the code as a zip file.
  3. Upload the zipped files into Cognos using extensions.
  4. Use the built custom widget in Cognos dashboard.

Instructions

  1. Get the code.
  2. Upload the zipped files into Cognos using custom widgets.
  3. Create a dashboard to use the built custom widget.
  4. Run the dashboard.
  5. Analyze the dashboard.