Skip to content

Commit

Permalink
Fix kv processor formatting (#9098)
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws authored Jan 21, 2025
1 parent 85a520e commit b31bcd3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions _ingest-pipelines/processors/kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ To test the pipeline, run the following query:

```json
POST _ingest/pipeline/kv-pipeline/_simulate

```json
{
"docs": [
{
Expand All @@ -103,7 +101,7 @@ POST _ingest/pipeline/kv-pipeline/_simulate

**Response**

The following example response confirms that the pipeline is working as expected:
The following example response confirms that, in addition to the original `message` field, the document contains fields generated from key-value pairs:

```json
{
Expand Down Expand Up @@ -132,8 +130,6 @@ The following query ingests a document into an index named `testindex1`:

```json
PUT testindex1/_doc/1?pipeline=kv-pipeline

```json
{
"message": "goodbye=everybody hello=world"
}
Expand Down

0 comments on commit b31bcd3

Please sign in to comment.