Hi
Have created a dashboard in grafana with many widgets and filters. Have exported the dashboard as json. All good till now
Now I’m trying to templatize it. so I can reuse same json with different values through tiny automation script. E.g to change data source, hostname, path etc.
When I tried, it was failing report already exist and it will be overwritten, then I realized I need to change few id and remove uid but still unsuccessful.
My request is, could you kindly help me
-
What attributes should I totally remove or make null value. So I can create new dashboard by importing updated json.
-
Is there a better way to automate cloning dashboard and change few value so it can retrieve data from different datasource etc.
Sorry, I couldnt attach my json file for your quick reference.
Thanks in advance