From 26d7c51507cfd3eda65f227ed4e3abd7cd0249f8 Mon Sep 17 00:00:00 2001 From: Catherine Liu Date: Fri, 4 Dec 2020 18:56:49 -0700 Subject: [PATCH] Adds support for 'ip' data type --- x-pack/plugins/canvas/server/lib/normalize_type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/canvas/server/lib/normalize_type.ts b/x-pack/plugins/canvas/server/lib/normalize_type.ts index b684325aacba..f2b2a8191666 100644 --- a/x-pack/plugins/canvas/server/lib/normalize_type.ts +++ b/x-pack/plugins/canvas/server/lib/normalize_type.ts @@ -6,7 +6,7 @@ export function normalizeType(type: string) { const normalTypes: Record = { - string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point'], + string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point', 'ip'], number: [ 'float', 'half_float',