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

21 lines
400 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.indices.putMapping({
index: "my-data-stream",
properties: {
host: {
properties: {
ip: {
type: "ip",
ignore_malformed: true,
},
},
},
},
});
console.log(response);
----