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.
tsullivan
(Tim Sullivan)
December 2, 2021, 8:33pm
2
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?
system
(system)
Closed
December 30, 2021, 8:33pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.