How to automatically import dashboard?

Greatings,

is it possible to automatically export the dashboards and say them as a file? I would like to automatically provision new Grafana docker container after my changes.

Grafana runs on the local server with MySQL database.

Regards,

Andrej

1 Like

Yes, you can export your dashboard. At top, click the “share” icon. Click “Save to File” and the .json of your board will be exported. You may import that to your new instance.

Thanks for your reply. But I wanted to do this automatically (see above). :grinning:

In the meantime I have found out a solution using Grafana API. I have written Python scripts, which exports all my dashboard in a folder.