Files
elasticsearch-js/docs/doc_examples/1ceaa211756e2db3d48c6bc4b1a861b0.asciidoc
2024-07-29 17:10:05 -05:00

15 lines
441 B
Plaintext

// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.eql.search({
index: "my-index*",
max_samples_per_key: 2,
size: 20,
query:
"\n sample\n [any where uptime > 0] by host,os\n [any where port > 100] by host,op_sys\n [any where bool == true] by host,os\n ",
});
console.log(response);
----