Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What if freshly ingested data does not show up?

When hacking away at a new Iot Application you sometimes wonder why some data from some devices does not make it into SAP IoT Application Enablement. Of course there can be many obvious reasons like e.g. the device has no power, connectivity is down or intermittent, Internet not reachable from local network or proxy server is down. But if you suspect the reason is after the data reaches device management (aka IoT Service for the Cloud Foundry environment) then one place to look for lost data is the Error Messages api for your tenant. It’s described here:

The Error Messages in here address many different sources of problems and it’s a good idea in production to other then monitoring your other application components to also monitor this one. It could be for example that for a specific sensor the mapping has been deleted or that the meta-data of sensor vs thing has gone out of sync.

The good news for debugging a current situation is that with the latest release the scopes required to access this api are part of the typical thing-super-user role. So you can go ahead in your favorite browser and enter the following (replacing the tenant name iotae-weather-station with your tenant) to get the errors for a specific day:

This error log sticks around for 1 week and when you pick it up in time you can use the raw message in it to try to re-ingest the data with the original timestamp. Of course you have to first resolve the issue that made the ingestion fail and you should do this ahead of the end of the warm store retention timeframe (typically 3 months).

This post first appeared on Web Service Testing A Blackjack GUI And API, please read the originial post: here

Share the post

What if freshly ingested data does not show up?


Subscribe to Web Service Testing A Blackjack Gui And Api

Get updates delivered right to your inbox!

Thank you for your subscription