Fix code example format and typos (#4949)
Signed-off-by: Melissa Vagi <vagimeli@amazon.com>
This commit is contained in:
parent
71935cff99
commit
2e62d9e8c8
|
@ -17,10 +17,10 @@ The following is the syntax for the `append` processor:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"append": {
|
"append": {
|
||||||
"field": "your_target_field",
|
"field": "your_target_field",
|
||||||
"value": ["your_appended_value"]
|
"value": ["your_appended_value"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
{% include copy-curl.html %}
|
{% include copy-curl.html %}
|
||||||
|
@ -73,17 +73,17 @@ To test the pipeline, run the following query:
|
||||||
```json
|
```json
|
||||||
POST _ingest/pipeline/user-behavior/_simulate
|
POST _ingest/pipeline/user-behavior/_simulate
|
||||||
{
|
{
|
||||||
"docs":[
|
"docs":[
|
||||||
{
|
{
|
||||||
"_source":{
|
"_source":{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
{% include copy-curl.html %}
|
{% include copy-curl.html %}
|
||||||
|
|
||||||
#### Reponse
|
#### Response
|
||||||
|
|
||||||
The following response confirms that the pipeline is working as expected:
|
The following response confirms that the pipeline is working as expected:
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ POST _ingest/pipeline/file_upload/_simulate
|
||||||
```
|
```
|
||||||
{% include copy-curl.html %}
|
{% include copy-curl.html %}
|
||||||
|
|
||||||
#### Reponse
|
#### Response
|
||||||
|
|
||||||
The following response confirms that the pipeline is working as expected:
|
The following response confirms that the pipeline is working as expected:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue