Skip to content

Commit

Permalink
Update ip2geo.md
Browse files Browse the repository at this point in the history
Bugs in the samples

Signed-off-by: Heather Halter <[email protected]>
  • Loading branch information
hdhalter authored Apr 11, 2024
1 parent 4957271 commit 76a70f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _ingest-pipelines/processors/ip2geo.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ POST _ingest/pipeline/my-pipeline/_simulate
"_index": "testindex1",
"_id": "1",
"_source": {
"ip": "172.0.0.1",
"ip": "172.0.0.1"
}
}
]
Expand Down Expand Up @@ -249,7 +249,7 @@ The following response confirms that the pipeline is working as expected:
The following query ingests a document into an index named `my-index`:

```json
PUT /my-index/_doc/my-id?pipeline=ip2geo
PUT /my-index/_doc/my-id?pipeline=my-pipeline
{
"ip": "172.0.0.1"
}
Expand Down

0 comments on commit 76a70f3

Please sign in to comment.