Auto-generated code for 8.x (#2529)

This commit is contained in:
Elastic Machine
2024-12-11 17:12:08 +01:00
committed by GitHub
parent 8d868df86a
commit f02c66cdcc
135 changed files with 1233 additions and 1000 deletions

View File

@ -3,8 +3,12 @@
[source, js]
----
const response = await client.esql.asyncQuery({
format: "json",
const response = await client.transport.request({
method: "POST",
path: "/_query/async",
querystring: {
format: "json",
},
body: {
query:
"\n FROM my-index-000001,cluster_one:my-index-000001,cluster_two:my-index*\n | STATS COUNT(http.response.status_code) BY user.id\n | LIMIT 2\n ",