Hide nodes from dashboards

Hide nodes from dashboards

When you remove a node from the environment, it is still displayed in the host drop-down lists of the Grafana dashboards.

To hide a node from the list:

  1. Connect to Grafana.

  2. Navigate to the required dashboard.

  3. Click the gear icon at the top left corner and select Templating.

  4. In the Variables tab, click Edit.

  5. Edit the Regex text box in the Query Options section. For example:

    • To hide cfg01, add the following text:

      ^(?!cfg01$).+$
      
    • To hide more than one node, add more conditions:

      ^(?!cfg01$|cmp01$).+$
      
  6. Click Update to apply the changes.

Example:

../../_images/remove-node-templating.png