From 5b7f574961b1bf12631031bca5651a2f98c13dd4 Mon Sep 17 00:00:00 2001 From: Heather Halter Date: Fri, 12 Apr 2024 09:20:12 -0700 Subject: [PATCH] Update ip2geo.md (#6946) Bugs in the samples Signed-off-by: Heather Halter --- _ingest-pipelines/processors/ip2geo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_ingest-pipelines/processors/ip2geo.md b/_ingest-pipelines/processors/ip2geo.md index 1563208b67..8e53c778a1 100644 --- a/_ingest-pipelines/processors/ip2geo.md +++ b/_ingest-pipelines/processors/ip2geo.md @@ -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" } } ] @@ -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" }