Skip to content

Commit 635e707

Browse files
[8.18] Update transform example update (#4998) (#5024)
Co-authored-by: lcawl <[email protected]> (cherry picked from commit 9d40112) Co-authored-by: ketkee-aryamane <[email protected]>
1 parent b30fca6 commit 635e707

File tree

4 files changed

+28
-33
lines changed

4 files changed

+28
-33
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/transform/update_transform/examples/request/UpdateTransformRequestExample1.yaml

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,28 @@
22
method_request: POST _transform/simple-kibana-ecomm-pivot/_update
33
description: Run `POST _transform/simple-kibana-ecomm-pivot/_update` to update a transform that uses the pivot method.
44
# type: request
5-
value:
6-
source:
7-
index: kibana_sample_data_ecommerce
8-
query:
9-
term:
10-
geoip.continent_name:
11-
value: Asia
12-
pivot:
13-
group_by:
14-
customer_id:
15-
terms:
16-
field: customer_id
17-
missing_bucket: true
18-
aggregations:
19-
max_price:
20-
max:
21-
field: taxful_total_price
22-
description: Maximum priced ecommerce data by customer_id in Asia
23-
dest:
24-
index: kibana_sample_data_ecommerce_transform1
25-
pipeline: add_timestamp_pipeline
26-
frequency: 5m
27-
sync:
28-
time:
29-
field: order_date
30-
delay: 60s
31-
retention_policy:
32-
time:
33-
field: order_date
34-
max_age: 30d
5+
value: |-
6+
{
7+
"source": {
8+
"index": "kibana_sample_data_ecommerce",
9+
"query": {
10+
"term": {
11+
"geoip.continent_name": {
12+
"value": "Asia"
13+
}
14+
}
15+
}
16+
},
17+
"description": "Maximum priced ecommerce data by customer_id in Asia",
18+
"dest": {
19+
"index": "kibana_sample_data_ecommerce_transform_v2",
20+
"pipeline": "add_timestamp_pipeline"
21+
},
22+
"frequency": "15m",
23+
"sync": {
24+
"time": {
25+
"field": "order_date",
26+
"delay": "120s"
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)