Ruby Client for X-Pack SQL

Hi -
Am trying to execute the SQL queries using the X-Pack API's with the ruby client (elasticsearch ~> 6.1) gem.
Could someone please help me how do I send the POST request using the ruby client. Thanks !

Hi Paul, I work mostly on Kibana so I'm a little rusty when it comes to ES. But I took a look at the elasticsearch-xpack docs for the Ruby client and it states:

For documentation, look into the RDoc annotations in the source files, which contain links to the official X-Pack for the Elastic Stack documentation.

So I looked in the source, and found the definition for the query action. Can you take a look and let me know if this helps you? This same directory also contains the source for the close cursor and translate actions.


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