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

19 lines
359 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.ingest.putPipeline({
id: "my-pipeline",
processors: [
{
set: {
field: "_source.my-long-field",
value: 10,
},
},
],
});
console.log(response);
----