From 2e62d9e8c81c604f3de42676d13b8b0139b0d36a Mon Sep 17 00:00:00 2001 From: Melissa Vagi Date: Thu, 31 Aug 2023 17:26:10 -0600 Subject: [PATCH] Fix code example format and typos (#4949) Signed-off-by: Melissa Vagi --- .../ingest-apis/processors/append.md | 22 +++++++++---------- .../ingest-apis/processors/bytes.md | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/_api-reference/ingest-apis/processors/append.md b/_api-reference/ingest-apis/processors/append.md index d0f2363ce5..dee484a6aa 100644 --- a/_api-reference/ingest-apis/processors/append.md +++ b/_api-reference/ingest-apis/processors/append.md @@ -17,10 +17,10 @@ The following is the syntax for the `append` processor: ```json { - "append": { - "field": "your_target_field", - "value": ["your_appended_value"] - } + "append": { + "field": "your_target_field", + "value": ["your_appended_value"] + } } ``` {% include copy-curl.html %} @@ -73,17 +73,17 @@ To test the pipeline, run the following query: ```json POST _ingest/pipeline/user-behavior/_simulate { - "docs":[ - { - "_source":{ - } - } - ] + "docs":[ + { + "_source":{ + } + } + ] } ``` {% include copy-curl.html %} -#### Reponse +#### Response The following response confirms that the pipeline is working as expected: diff --git a/_api-reference/ingest-apis/processors/bytes.md b/_api-reference/ingest-apis/processors/bytes.md index 329a657911..7d07766cbd 100644 --- a/_api-reference/ingest-apis/processors/bytes.md +++ b/_api-reference/ingest-apis/processors/bytes.md @@ -85,7 +85,7 @@ POST _ingest/pipeline/file_upload/_simulate ``` {% include copy-curl.html %} -#### Reponse +#### Response The following response confirms that the pipeline is working as expected: