From 11d4417251760d5cd362c20413ef3bf241a31378 Mon Sep 17 00:00:00 2001 From: Tal Levy Date: Tue, 5 Jan 2016 11:45:52 -0800 Subject: [PATCH] [doc] update set and append processor doc examples --- docs/plugins/ingest.asciidoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/plugins/ingest.asciidoc b/docs/plugins/ingest.asciidoc index 953683e900f..e41f9bbd431 100644 --- a/docs/plugins/ingest.asciidoc +++ b/docs/plugins/ingest.asciidoc @@ -38,7 +38,8 @@ its value will be replaced with the provided one. -------------------------------------------------- { "set": { - "field1": 582.1 + "field": "field1", + "value": 582.1 } } -------------------------------------------------- @@ -53,7 +54,8 @@ Accepts a single value or an array of values. -------------------------------------------------- { "append": { - "field1": ["item2", "item3", "item4"] + "field": "field1" + "value": ["item2", "item3", "item4"] } } --------------------------------------------------