Is it possible to select query hosts based on another query?

using graphite as data source.
having my data set up like this:

I would like to create a graph of prop2
where the host has prop1=some value

is it possible?

yes, if you use template variable queries.

Hi torkel

Can you please elaborate more?

I’ve already defined the template variable,
how do I connect it to affect the query ?

for example


would like to see the network distribution by cpu type.