How to import REST API Data


#1

I woulld like to receive data from one of my REST API url and display into the dashboard. Can someone walkthrough the process of configuring the following API?

URL
https://api.oip.tm.com.my/app/iot/1.0/api/plugins/telemetry/DEVICE/365ad9b0-16b7-11e8-ace1-e91f8f4d7baf/values/timeseries?keys=humidity,temp

METHOD
get

Headers
X-Authorization: Token
Authorization:Token


#2

Hi,

You probable want to use Simple JSON Datasource plugin. To do that you need to implement a rest api that conforms to simplejson request/response formats and that in turn calls out to your external api.

Please refer to my comment here Grafana simplejson dashboard

Marcus