13 lines
441 B
Plaintext
13 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-data-stream",
|
|
query:
|
|
'\n sequence with maxspan=1h\n [ process where process.name == "regsvr32.exe" ] by process.pid\n [ file where stringContains(file.name, "scrobj.dll") ] by process.pid\n ',
|
|
});
|
|
console.log(response);
|
|
----
|