Created 09-28-2018 12:08 PM
We have a HDP Ambari cluster and want to have custom Dashboard as home page after logging in Grafana. I tried to edit the Dashboard list query such that only our custom Dashboards appear but I am not able to update and save that query. Is there a way to save Dashboard list query and aslo Home dashboard json?
Created 09-28-2018 01:00 PM
You could edit the home.json or replace it with the export of the desired dashboard. I recommend making a backup of your home.json in case you want it back, or if we make any mistakes.
/usr/lib/ambari-metrics-grafana/public/dashboards/home.json
To add your desired query to the dashboards list on the home, edit this bit;
{ "id": 3, "span": 6, "type": "dashlist", "mode": "search", "title": "Dashboards" }
You could change this part to include your query. For example this would change the home to only display the AMS dashboards;
{ "id": 3, "mode": "search", "span": 6, "title": "Dashboards", "type": "dashlist", "query": "AMS", "limit": 10, "tags": [] }