Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust script to generate fields of type geo_point #3147

Merged
merged 1 commit into from
Dec 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adjust script to generate fields of type geo_point
  • Loading branch information
monicasarbu committed Dec 8, 2016
commit c51642b9e6303a5d30c212492014d742ca423370
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