Skip to content

Commit e9dfb2a

Browse files
GlenRSmithjasontedor
authored andcommitted
Fix another simulate example in ingest docs
When simulating an ingest pipeline against an existing pipeline, the _source field is required to wrap each doc. This commit fixes another example in the docs that is missing this. Relates elastic#25743, relates e3a0c11
1 parent e3a0c11 commit e9dfb2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/ingest/ingest-node.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ POST _ingest/pipeline/_simulate
205205
// pipeline definition here
206206
},
207207
"docs" : [
208-
{ /** first document **/ },
209-
{ /** second document **/ },
208+
{ "_source": {/** first document **/} },
209+
{ "_source": {/** second document **/} },
210210
// ...
211211
]
212212
}

0 commit comments

Comments
 (0)