Create Dashboard
Creates a new dashboard or updates an existing dashboard. When updating existing dashboards, if you do not define the folderId or the folderUid property, then the dashboard(s) are moved to the General folder. (You need to define only one property, not both).
Parameters
Parameter | Description |
---|---|
Commit Message | Set a commit message for the version history. |
Dashboard Refresh Interval | Set the dashboard refresh interval. If this is lower than the minimum refresh interval, then Grafana will ignore it and will enforce the minimum refresh interval. |
Dashboard Schema Version | - |
Dashboard Tags | List of tags, separated by commas. |
Dashboard Timezone | - |
Dashboard Title | - |
Dashboard Unique ID | Optional unique identifier when creating a dashboard. uid = null will generate a new uid. |
Dashboard Version | - |
Folder Unique ID | The UID of the folder to save the dashboard in. Overrides the folderId. When updating existing dashboards, if you do not define the folderId or the folderUid property, then the dashboard(s) are moved to the General folder. (You need to define only one property, not both). |
Example Output
[
{
"id": 2,
"dashboardId": 1,
"parentVersion": 1,
"restoredFrom": 0,
"version": 2,
"created": "2017-06-08T17:24:33-04:00",
"createdBy": "admin",
"message": "Updated panel title"
},
{
"id": 1,
"dashboardId": 1,
"parentVersion": 0,
"restoredFrom": 0,
"version": 1,
"created": "2017-06-08T17:23:33-04:00",
"createdBy": "admin",
"message": "Initial save"
}
]
Workflow Library Example
Create Dashboard with Grafana and Send Results Via Email