- What Grafana version and what operating system are you using?
What are you trying to achieve?
replace all panels with title with library panel
How are you trying to achieve it?
attempting to download with api use jq to find panels with title and replace with library panel
- What happened?
error with jq
- What did you expect to happen?
replace the panel with librarypanel version
- Can you copy/paste the configuration(s) that you are having problems with?
cat ./original_dashboards/some_dashboard.json | jq ‘. | ..dashboard.panels? | select(.title == “Process CPU Usage”) = $CONTENT_FROM_FILE’
jq: 1 compile error
Open to any other possible method, but have around 300 dashboards to link to librarypanel instead of using standalone