Skip to content

Commit 77cd0b5

Browse files
committed
[DOCS] Sync timestamps
1 parent e083862 commit 77cd0b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/ingest.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The API returns transformed documents:
187187
"my-keyword-field": "foo"
188188
},
189189
"_ingest": {
190-
"timestamp": "2099-02-30T22:30:03.187Z"
190+
"timestamp": "2099-03-07T11:04:03.000Z"
191191
}
192192
}
193193
},
@@ -199,15 +199,15 @@ The API returns transformed documents:
199199
"my-keyword-field": "bar"
200200
},
201201
"_ingest": {
202-
"timestamp": "2099-02-30T22:30:03.188Z"
202+
"timestamp": "2099-03-07T11:04:04.000Z"
203203
}
204204
}
205205
}
206206
]
207207
}
208208
----
209-
// TESTRESPONSE[s/"2099-02-30T22:30:03.187Z"/$body.docs.0.doc._ingest.timestamp/]
210-
// TESTRESPONSE[s/"2099-02-30T22:30:03.188Z"/$body.docs.1.doc._ingest.timestamp/]
209+
// TESTRESPONSE[s/"2099-03-07T11:04:03.000Z"/$body.docs.0.doc._ingest.timestamp/]
210+
// TESTRESPONSE[s/"2099-03-07T11:04:04.000Z"/$body.docs.1.doc._ingest.timestamp/]
211211

212212
[discrete]
213213
[[add-pipeline-to-indexing-request]]
@@ -226,9 +226,9 @@ POST my-data-stream/_doc?pipeline=my-pipeline
226226
227227
PUT my-data-stream/_bulk?pipeline=my-pipeline
228228
{ "create":{ } }
229-
{ "@timestamp": "2099-03-08T11:04:05.000Z", "my-keyword-field": "foo" }
229+
{ "@timestamp": "2099-03-07T11:04:06.000Z", "my-keyword-field": "foo" }
230230
{ "create":{ } }
231-
{ "@timestamp": "2099-03-08T11:06:07.000Z", "my-keyword-field": "bar" }
231+
{ "@timestamp": "2099-03-07T11:04:07.000Z", "my-keyword-field": "bar" }
232232
----
233233

234234
You can also use the `pipeline` parameter with the <<docs-update-by-query,update

0 commit comments

Comments
 (0)