Open mzupan opened 3 months ago
everything is escaped when sent via query it seems.
This severely limits the use of variables as a way to drill down for search.
@mzupan @uptickmetachu I think it's possible to avoid this pb. On Fly.io we have a query text box, and this works: ${query:text}
To give you the full query run on Fly: fly.app.name:${app:singlequote} fly.app.instance:${instance:singlequote} ${query:text}
Note that in the grafana plugin, the default boolean operator is AND
, so in this example, quickwit will really execute fly.app.name:${app:singlequote} AND fly.app.instance:${instance:singlequote} AND ${query:text}
Yup works for me!
I do have to use some querybuilding trickery to make it work as a field exists *
when nothing is selected and as a quoted text for when a value is selected.
Using the plugin, if I set a textbox variable and use a wildcard like
In the query it is escaping the
*
. Here is the query it sent to quickwitThis is my query for the graph
Also tried