Pass elastic index from url to kibana

Hi, is there any way to pass index from url params to kibana?

app/canvas?index=myIndex#/workpad/workpad

query={ string "SELECT MONTH_OF_YEAR(dateBegin) month, SUM(someValue) value, some AS some, Type title FROM "{urlparam param=index}" WHERE event='Event'
GROUP BY Type, MONTH_OF_YEAR(dateBegin), some" }

It gives me an error: Unable to parse expression: Expected "|" or end of input but "=" found.

Resolved by adding whitespaces between brackets:
Should be " {urlparam param=index} "

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.