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

33 lines
732 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.transform.updateTransform({
transform_id: "simple-kibana-ecomm-pivot",
source: {
index: "kibana_sample_data_ecommerce",
query: {
term: {
"geoip.continent_name": {
value: "Asia",
},
},
},
},
description: "Maximum priced ecommerce data by customer_id in Asia",
dest: {
index: "kibana_sample_data_ecommerce_transform_v2",
pipeline: "add_timestamp_pipeline",
},
frequency: "15m",
sync: {
time: {
field: "order_date",
delay: "120s",
},
},
});
console.log(response);
----