Hi @hemanth22,
You just need to escape the index name because - is a reserved character (the minus sign):
GET _xpack/sql?format=txt
{
"query": "select * \"from logstash-2015.05.18\""
}
Hi @hemanth22,
You just need to escape the index name because - is a reserved character (the minus sign):
GET _xpack/sql?format=txt
{
"query": "select * \"from logstash-2015.05.18\""
}
© 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.