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

using graphite as data source.
having my data set up like this:
host1.app1.prop1
host1.app2.prop2

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

server1.cpu.type
server1.network.output

would like to see the network distribution by cpu type.

Thanks