Menu
Translate SQL into Elasticsearch queries (POST)
Translate SQL into Elasticsearch queries
POST
/_sql/translateUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Translate SQL into Elasticsearch queries (POST) action (under sql).
- Fill in the fields below, then reference the result from later steps as
{{translateSqlIntoElasticsearchQueriesPost.response.data}}.
Fields
Response
Returns 200 with an object. Read it in later steps with {{translateSqlIntoElasticsearchQueriesPost.response.data.<field>}}.
{
"aggregations": {},
"size": 0,
"_source": null,
"fields": [
{}
],
"query": null,
"sort": null,
"track_total_hits": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?