Hey ALL,
I am running simple SQL in the Kibana SQL workspace and getting no data back. Appreciate for any clues!
select status, count(*) as status_cnt from my-index4 group by status
Thanks,
Dimon.
Hey ALL,
I am running simple SQL in the Kibana SQL workspace and getting no data back. Appreciate for any clues!
select status, count(*) as status_cnt from my-index4 group by status
Thanks,
Dimon.
Have you tried to run the query using the SQL REST api?
Can you try to put the index name in double quotes:
select status, count(*) as status_cnt from "my-index4" group by status
(keep in mind in REST API - json - you need to escape the double quotes with \
:
"query" : "select status, count(*) as status_cnt from \"my-index4\" group by status"
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.