I have exported the dashboard in json format.
I want to import the json file manually to create the same dashboard in new grafana instance.
While googling i got some related information but finding difficulties to implement successfully.
From the site Grafana API link i got the code snippet like,
POST /api/dashboards/db HTTP/1.1 Accept: application/json Content-Type: application/json Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{ “dashboard”: { “id”: null, “uid”: null, “title”: “Production Overview”, “tags”: [ “templated” ], “timezone”: “browser”, “schemaVersion”: 16, “version”: 0 }, “folderId”: 0, “overwrite”: false }
The above code snippet looks like we can create new dashboard with existing json file but i have no idea of how to implement this code snippet successfully.
Somebody guide me how to achieve this?
There are two techniques to copy the current dashboard - if you want to export this
Create new Grafana dashboard and copy this JSON model to
Please let me know if you have any issue.