We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be awesome if one could use this also to batch-import all dashboards.
For anyone looking for that, I now used this script:
#!/bin/sh GRAFANA= # Set to URL of grafana APIKEY= # Set to key created in settings find /path/to/extracted/zip-file -name '*.json' | while read fullname; do jq -rc '. * {overwrite:true,dashboard:{id:null}}' < "${fullname}" | \ curl -k -f -v -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${APIKEY}" ${GRAFANA}/api/dashboards/db?orgId=1 -d @- || break done
The text was updated successfully, but these errors were encountered:
Could you add it as an example script to the README, please? Thank you.
Sorry, something went wrong.
@jangaraj Can batch import capability be implemented in the dashboard? Thank you.
No branches or pull requests
It would be awesome if one could use this also to batch-import all dashboards.
For anyone looking for that, I now used this script:
The text was updated successfully, but these errors were encountered: