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

14 lines
369 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",
keep_on_completion: true,
wait_for_completion_timeout: "2s",
query: '\n process where process.name == "cmd.exe"\n ',
});
console.log(response);
----