Added/updated snippets for docs (#2318)
This commit is contained in:
11
docs/doc_examples/5bb0d84185df2f276f01bb2fba709e1a.asciidoc
Normal file
11
docs/doc_examples/5bb0d84185df2f276f01bb2fba709e1a.asciidoc
Normal file
@ -0,0 +1,11 @@
|
||||
// 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: "cluster_one:my-data-stream,cluster_two:my-data-stream",
|
||||
query: '\n process where process.name == "regsvr32.exe"\n ',
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user