Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to have custom home dashboard in Ambari Grafana ?

Highlighted

How to have custom home dashboard in Ambari Grafana ?

New Contributor

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?

1 REPLY 1

Re: How to have custom home dashboard in Ambari Grafana ?

@Saloni Udani

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": []
}