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

13 lines
390 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",
filter_path: "hits.events._source.@timestamp,hits.events._source.process.pid",
query: '\n process where process.name == "regsvr32.exe"\n ',
});
console.log(response);
----