-
Notifications
You must be signed in to change notification settings - Fork 3
Set GrafanaDashboard
Stephen Valdinger edited this page Apr 9, 2019
·
1 revision
Update an existing Dashboard in Grafana
Set-GrafanaDashboard [-Title] <String> [[-NewTitle] <String>] [-Tags <String[]>] [<CommonParameters>]
Set-GrafanaDashboard -DashboardId <Int32> -DashboardUid <String> [<CommonParameters>]
Change the title and tags of an existing Dashboard in Grafana
Set-GrafanaDashboard -Title "Boring Old Title" -NewTitle "Fancy New Title"
Set-GrafanaDashboard -Title "Boring Old Title" -NewTitle "Fancy New Title" -Tags "prod","wizz_bang"
Set-GrafanaDashboard -Title "Boring Old Title" -Tags "prod","apache" -DashboardId 35 -DashboardUid 5XWS256
The title of the dashboard you wish to modify
Type: String
Parameter Sets: Update
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The new title of the Dashboard if you wish to change it
Type: String
Parameter Sets: Update
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The updated tags. This overwrites existing tags
Type: String[]
Parameter Sets: Update
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If you know the dashboard ID, you may enter it
Type: Int32
Parameter Sets: id
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
If you know the dashboard Uid, you may enter it
Type: String
Parameter Sets: id
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
-
Configuration
-
Admin
-
API Keys
-
Alerts
-
Dashboards
-
Folders
-
Snapshots
-
Other