From 1dbbeec135e4f507b2c650485c76d6a6ae61fd1c Mon Sep 17 00:00:00 2001 From: Monica Sarbu Date: Thu, 8 Dec 2016 13:05:47 +0100 Subject: [PATCH] Adjust script to generate fields of type geo_point (#3148) (cherry picked from commit c51642b9e6303a5d30c212492014d742ca423370) --- libbeat/scripts/generate_index_pattern.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libbeat/scripts/generate_index_pattern.py b/libbeat/scripts/generate_index_pattern.py index e719292e483..8bd2355f46e 100644 --- a/libbeat/scripts/generate_index_pattern.py +++ b/libbeat/scripts/generate_index_pattern.py @@ -60,6 +60,8 @@ def field_to_json(desc, path, output): field["aggregatable"] = False elif desc["type"] == "date": field["type"] = "date" + elif desc["type"] == "geo_point": + field["type"] = "geo_point" else: field["type"] = "string"