Hi all
I have a table panel which includes a list of hostname,I want to use this hostname column value to link the detail dashboard.But the dashboard url includes the “uid” like /d/RehXdqWWk/192-168-1-1,so what should I fill the link?
I suppose you have two dashboards,
D2 (uid = jk32h32h4jkh432kj) with details and D1 with table where you want the link.
The table has the name of the host, and in D2 you can see details of the entire host.
What you should do is the following:
In the dashbaord D2 create a variable “ host ”, and use this variable in all the querys of your dashboard as a filter.
in the dashbaord D1 , the url that you should put the following:
/d/jk32h32h4jkh432kj/D2?var-host=$ __cell
sorry my english
hello , i have a question please :
I have table and in this table there is a column with name of application and i want to add links for every value . Every link will bring me to see an other doashboard how can i do it please ? and thank you
Can you confirm what would be used in the SQL query in D2, would it be:
- WHERE host = ‘$var-host’
- WHERE host = ‘$host’
- or something else…
In your query you can put something like this:
...
WHERE host in($host) // multi value
WHERE host = '$host' // single value
...
Thanks… that works great
Hello - Daniel…
I am having the same problem…of passing click value from one panel to the other panel…
More info in the link below…
Can you pl. help - Thx - N
Hi Daniel,
I have a questions.
In the dashbaord D2 create a variable “ host ”, and use this variable in all the querys of your dashboard as a filter.
Is variable “Host” optional? Or maybe is it depend on fields (where there is cells with links)? Which dashboard do you mean (in which do you use filter)? D1 or D2? I’m using Grafana v7.3.7 and I can’t do it.
I will be greatfull for your help.