Skip to content

Commit 86c4c7e

Browse files
committed
Update example
1 parent ccda059 commit 86c4c7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

manage-data/data-store/data-streams/failure-store.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ When a document bound for a data stream encounters a problem during its ingestio
125125
Here we have a bulk operation that sends two documents. Both are writing to the `id` field which is mapped as a `long` field type. The first document will be accepted, but the second document would cause a failure because the value `invalid_text` cannot be parsed as a `long`. This second document will be redirected to the failure store:
126126

127127
```console
128-
POST my-datastream/_bulk
128+
POST my-datastream-new/_bulk
129129
{"create":{}}
130130
{"@timestamp": "2025-05-01T00:00:00Z", "id": 1234} <1>
131131
{"create":{}}
@@ -141,7 +141,7 @@ POST my-datastream/_bulk
141141
"items": [
142142
{
143143
"create": {
144-
"_index": ".ds-my-datastream-2025.05.01-000001", <2>
144+
"_index": ".ds-my-datastream-new-2025.05.01-000001", <2>
145145
"_id": "YUvQipYB_ZAKuDfZRosB",
146146
"_version": 1,
147147
"result": "created",
@@ -157,7 +157,7 @@ POST my-datastream/_bulk
157157
},
158158
{
159159
"create": {
160-
"_index": ".fs-my-datastream-2025.05.01-000002", <3>
160+
"_index": ".fs-my-datastream-new-2025.05.01-000002", <3>
161161
"_id": "lEu8jZYB_ZAKuDfZNouU",
162162
"_version": 1,
163163
"result": "created",
@@ -186,7 +186,7 @@ If the document was redirected to a data stream's failure store due to a problem
186186

187187
```console-result
188188
{
189-
"_index": ".fs-my-datastream-2025.05.01-000002", <1>
189+
"_index": ".fs-my-datastream-new-2025.05.01-000002", <1>
190190
"_id": "lEu8jZYB_ZAKuDfZNouU",
191191
"_version": 1,
192192
"result": "created",

0 commit comments

Comments
 (0)