Dashboard Variables

Video Lecture

Dashboard Variables Dashboard Variables

Description

In the next few lectures, we will look at how the create and use dashboard variables.

We will manually recreate fully a dynamic dashboard to query our SNMP devices that we've set up in the previous lectures.

Example Variables

Name Type DataSource Value/Query
interval Interval 1m,10m,30m,1h,6h,12h,1d,7d,14d,30d
datasource Datasource MySQL
host Query InfluxDB SHOW TAG VALUES FROM interface WITH KEY = "agent_host"
interface Query InfluxDB SHOW TAG VALUES FROM interface WITH KEY = "ifDescr" WHERE agent_host=~ /$host/
custom Custom abc, def, ghi, jkl