From ae8c0ce4533dd28ac76b37f167eb004592edcef9 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Thu, 17 Sep 2020 08:20:37 -0600 Subject: [PATCH] Add host.ip and observer.ip fields to the synthetics-*-* mappings (#62412) We need to ensure these are mapped as 'ip' instead of a keyword, even if they do end up not being used. Relates to #62193 --- .../src/main/resources/synthetics-mappings.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/x-pack/plugin/core/src/main/resources/synthetics-mappings.json b/x-pack/plugin/core/src/main/resources/synthetics-mappings.json index ffaa374cc731a..ca159c4968bef 100644 --- a/x-pack/plugin/core/src/main/resources/synthetics-mappings.json +++ b/x-pack/plugin/core/src/main/resources/synthetics-mappings.json @@ -38,6 +38,20 @@ "type": "keyword" } } + }, + "host": { + "properties": { + "ip": { + "type": "ip" + } + } + }, + "observer": { + "properties": { + "ip": { + "type": "ip" + } + } } } }