I am learning on creating Grafana dashboards and currently trying to create Hypervisor cluster dashboard. I have created variable with regex to filter out matching windows hyper-v servers (based on domain). Now my requirement is to when I select specific host cluster, all the cluster nodes under that host cluster should be plotted. One example is given below.
Host Cluster : testhvcl001.domainname
Cluster Nodes : testhv01.domainname, testhv02.domainname and so on (tried to create regex to cut string before cl001 but not getting any success)
I have variable for Host Cluster is ready but I am not sure on how to proceed to get cluster nodes based on host cluster. Appreciate any help.