Auto-generated code for main (#2522)

This commit is contained in:
Elastic Machine
2024-12-05 19:28:38 +00:00
committed by GitHub
parent 6447fc10bf
commit a4315a905e
122 changed files with 3130 additions and 25672 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 cluster_one:my-index*,cluster_two:logs*\n | STATS COUNT(http.response.status_code) BY user.id\n | LIMIT 2\n ",