Auto-generated code for 8.17 (#2550)

This commit is contained in:
Elastic Machine
2025-01-07 18:52:21 +00:00
committed by GitHub
parent 48f369fe82
commit 6cdb08757d
90 changed files with 3019 additions and 703 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 ",