13 lines
433 B
Plaintext
13 lines
433 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",
|
|
query:
|
|
'\n sequence by process.pid\n [ file where file.name == "cmd.exe" and process.pid != 2013 ]\n [ process where stringContains(process.executable, "regsvr32") ]\n ',
|
|
});
|
|
console.log(response);
|
|
----
|