Watson IoT: Dashboard graphs cannot retrieve information from cloudant

133 views Asked by At

Continuing with my Watson IoT journey (previous episode), I'm trying to add a line graph to my dashboard in order to view historical data in an easy way. But it seems that, with the recent Extension service removal, it is not possible to view historical information in a widget. This is the message I see in the widget configuration page:

Watson IoT Widget - Cloudant (Image)

"No se han configurado bases de datos en la página de extensiones" -> "No databases have been configured on the extensions page".

I suppose that the configuration option needs to be modified to the new situation, right? Is there any workaround to solve this problem?

Many thanks for your help and I'm sorry for my simple questions, please be patient with me

Best regards,

Aitor

1

There are 1 answers

0
Vidyasagar Machupalli On

What I learnt from the team and also worked for me is to add a new Forwarding rule on the Swagger UI(OpenAPI spec) as mentioned in the Stackoverflow answer here

The forwarding rule with the corresponding connectorId to be used as a model would be as shown below

{
 "name": "iot-cloudant-rule",
 "destinationName": "default",
 "type": "event",
 "selector": {
   "deviceType": "*",
   "eventId": "*"
  }
 }

If you observe, both the deviceType and eventId should be set to *. Once you execute the forwarding rule, you should see the Cloudant service name enter image description here