Fix code example format and typos (#4949)

Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
This commit is contained in:
Melissa Vagi 2023-08-31 17:26:10 -06:00 committed by GitHub
parent 71935cff99
commit 2e62d9e8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View File

@ -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:

View File

@ -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: