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

21 lines
398 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.search({
index: "network-traffic",
size: 0,
aggs: {
"ipv4-subnets": {
ip_prefix: {
field: "ipv4",
prefix_length: 24,
min_doc_count: 3,
},
},
},
});
console.log(response);
----