KIbana SQL query parametrization

Is it possible to add a parameter to select index using ES SQL? I created a variable named indexName and I tried to add it to the query this way:

SELECT * FROM "{indexName}"

But I get the error:

So my question is: is there any way to pass parameters to the Kibana query? I especially need to pass the index name to that query.

Hi, it is possible to do this when querying Elasticsearch directly: Passing parameters to a query | Elasticsearch Guide [master] | Elastic

But it might not be supported by the Kibana app or version of Kibana you are using.

What app are you using to write this SQL?

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