Skip to content

Commit

Permalink
Adjust script to generate fields of type geo_point
Browse files Browse the repository at this point in the history
  • Loading branch information
monicasarbu committed Dec 8, 2016
1 parent 34e464a commit c51642b
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 c51642b

Please sign in to comment.