Hello,
I had added the plugin for sql in Elastic search. Inspite of adding sql plugin for sql. Iam unable to run sql queries.
Below given is the command:
curl -H "Content-Type: application/json" -XPOST 'http://10.94.1.114:9200/_sql' -d 'SELECT * FROM testing_tagstore1 LIMIT 10'
Error
No handler found for uri [/_sql] and method [POST]
Yes I have restarted the nodes after plugin installation. But inspite of that it still throws the same error. Iam a beginner. Request you to please help
There is no Elastic SQL plugin for 5.3.0 from what I know. As others suggested, please try a much newer Elasticsearch version. There are many many fixes and features in these versions.
Also, specifically related to your issue, in older Elasticsearch versions the endpoint is /_xpack/sql and not /_sql.
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.