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

14 lines
388 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-data-stream",
timestamp_field: "file.accessed",
event_category_field: "file.type",
query: '\n file where (file.size > 1 and file.type == "file")\n ',
});
console.log(response);
----