Browse Source

bad formatted JSON object (#38515) (#38525)

It just need to replace the wrong " , " to " : "

Backport of #38515
Lee Hinman 6 years ago
parent
commit
645db34e0e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/ingest/processors/foreach.asciidoc

+ 2 - 2
docs/reference/ingest/processors/foreach.asciidoc

@@ -141,8 +141,8 @@ block to send the document to the 'failure_index' index for later inspection:
         "on_failure" : [
           {
             "set" : {
-              "field", "_index",
-              "value", "failure_index"
+              "field": "_index",
+              "value": "failure_index"
             }
           }
         ]