summaryrefslogtreecommitdiff
path: root/docs/reference/ingest
diff options
context:
space:
mode:
authorTal Levy <JubBoy333@gmail.com>2016-09-09 14:34:32 -0700
committerGitHub <noreply@github.com>2016-09-09 14:34:32 -0700
commit9f1f5fdedc1aef4917d1f4b7ee36a92a5e58bc80 (patch)
tree2dd63c6b21db92766120361e3280c75bf10d4247 /docs/reference/ingest
parent4b00cc37a1f25bdd272c2d3058ff83c2f879cd21 (diff)
introduce the JSON Processor (#20128)
introduce the JSON Processor
Diffstat (limited to 'docs/reference/ingest')
-rw-r--r--docs/reference/ingest/ingest-node.asciidoc22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/reference/ingest/ingest-node.asciidoc b/docs/reference/ingest/ingest-node.asciidoc
index f871703dd5..1e949d4df6 100644
--- a/docs/reference/ingest/ingest-node.asciidoc
+++ b/docs/reference/ingest/ingest-node.asciidoc
@@ -1272,6 +1272,28 @@ Throws an error when the field is not an array.
}
--------------------------------------------------
+[[json-processor]]
+=== JSON Processor
+Converts a JSON string into a structured JSON object.
+
+[[json-options]]
+.Json Options
+[options="header"]
+|======
+| Name | Required | Default | Description
+| `field` | yes | - | The field to be parsed
+| `target_field` | no | `field` | The field to insert the converted structured object into
+|======
+
+[source,js]
+--------------------------------------------------
+{
+ "json": {
+ "field": "{\"foo\": 2000}"
+ }
+}
+--------------------------------------------------
+
[[lowercase-processor]]
=== Lowercase Processor
Converts a string to its lowercase equivalent.