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

Add fields country_name and region_iso_code to geo. #214

Merged
merged 3 commits into from Dec 6, 2018

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Dec 4, 2018

Also sort the fields in the set by data format and by size: location, human names,
and ISO codes :-)

Closes #177.

@webmat webmat self-assigned this Dec 4, 2018
@webmat
Copy link
Contributor Author

webmat commented Dec 4, 2018

Ping @KPStolk, @ruflin and @MikePaquette

@@ -49,3 +49,17 @@
description: >
City name.
example: Montreal

- name: country_iso_code
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just call it country and have iso_code part of the description? Same below.

Main problem: Breaks with the generic geo processing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand what you mean by "Breaks with the generic geo processing". This is the field name as it is currently output by our geoip processor.

You're suggesting we use the canonical word ("country") for the field meant to contain the ISO code? If we were to use the canonical word for something, I'd rather it be the human name instead (country:Canada).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, what we have in here works. It just feels like the names are too long.

Let's move forward with it and figure it out later :-)

Copy link
Contributor

@MikePaquette MikePaquette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@webmat webmat merged commit bba50bb into elastic:master Dec 6, 2018
@webmat webmat deleted the geo-additional-fields branch December 6, 2018 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants