You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdg backup dash download get dashboards only from folder General
Describe the bug
A clear and concise description of what the bug is. If applicable and possible the JSON of dashboard or datasource that is causing issues with credentials removed would be helpful.
To Reproduce
Create dashboard1 in folder General
Create new folder in grafana, create dashboard2 in this new folder
gdg backup dash list - show dashboard only in folder General gdg backup dash download - download dashboard only from folder Geneatl
to download dashboard from new folder must be set -f gdg backup dash download -f 'new folder'
Expected behavior
gdg backup dash download - should be download dashboards from all folder
Desktop (please complete the following information):
GDG Version: 0.6.0
Grafana Version: 9.5.2
Configuration for Importer
context_name: main
contexts:
main:
url: https://grafana
token: "glsa_...."
output_path: "myFolder"
The text was updated successfully, but these errors were encountered:
That's not the expected behavior. Default is to ONLY download from the folders that were configured, If none are configured the default is to only list dashboards under "General". the -f flag allows you further filter down to only operate on a given folder.
If you want to download files from ALL folders and ignore any filtering, you can set ignore_dashboard_filters
filter_override:
ignore_dashboard_filters: false # When set to true all Watched filtered folders will be ignored and ALL folders will be acted on
Also, if the -f works, to download data from the new folder, that IS a bug, it shouldn't allow you to do that. The -f is a filter on the imported folders. It's not intended to allow you to fetch folders that are not white listed unless the ignore_dashboard_filter is set.
gdg backup dash download
get dashboards only from folder GeneralDescribe the bug
A clear and concise description of what the bug is. If applicable and possible the JSON of dashboard or datasource that is causing issues with credentials removed would be helpful.
To Reproduce
Create dashboard1 in folder General
Create new folder in grafana, create dashboard2 in this new folder
gdg backup dash list
- show dashboard only in folder Generalgdg backup dash download
- download dashboard only from folder Geneatlto download dashboard from new folder must be set -f
gdg backup dash download -f 'new folder'
Expected behavior
gdg backup dash download
- should be download dashboards from all folderDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: