From 188410095e6de677836433cfa5cd713046853c48 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Tue, 15 Sep 2020 13:40:26 -0600 Subject: [PATCH] Add host.ip and observer.ip fields to the synthetics-*-* mappings 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" + } + } } } }