Skip to content

Commit

Permalink
Adjust script to generate fields of type geo_point (elastic#3148)
Browse files Browse the repository at this point in the history
(cherry picked from commit c51642b)
  • Loading branch information
monicasarbu authored and ruflin committed Dec 8, 2016
1 parent 711b3be commit 1dbbeec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libbeat/scripts/generate_index_pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 1dbbeec

Please sign in to comment.