Query reuse on different panels within dashboard

Hi Guys,

I was wondering if there is any means of reusing a dashboard level query in child panels. I have tried using both the constant and query types but neither are performing as I was hoping.

For example I was hoping is that the constant type would do straight string expansion so I could reuse the query string in multiple panels.

Am I on the right track here or is this not supported?


Your problem is going to be lucene escaping. Template variables are mostly used in value filters, so the template variable value is lucene escaped when used in the lucene query for example (to support values that contain quotes and other lucene characters).