Skip to content

Commit

Permalink
Scala Common Enrich: added MaxMind region_name field (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
fblundun committed Jul 9, 2014
1 parent 6f13607 commit 72ba034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ object EnrichmentManager {
event.geo_zipcode = l.postalCode.orNull
event.geo_latitude = l.latitude
event.geo_longitude = l.longitude
event.geo_region_name = l.regionName.orNull
}
geoLoc
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class CanonicalOutput {
@BeanProperty var geo_zipcode: String = _
@BeanProperty var geo_latitude: JFloat = _
@BeanProperty var geo_longitude: JFloat = _
@BeanProperty var geo_region_name: String = _

// Page
@BeanProperty var page_url: String = _
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Scala Common Enrich: added validation of enrichments JSON (#807)
Scala Common Enrich: replaced "anon_ip_quartets" with "anon_ip_octets" everywhere (#547)
Scala Common Enrich: added ability to extract event_id from querystring (#723)
Scala Common Enrich: extracted CanonicalInput's userId as network_userid, thanks @pkallos! (#855)
Scala Common Enrich: added MaxMind region field (#873) - TODO
Scala Common Enrich: added MaxMind region_name field (#873)
Scala Common Enrich: added IP -> ISP lookup (#861) - TODO
Redshift: bumped table-def to 0.4.0
Redshift: added etl_tstamp to atomic.events (#819)
Expand Down

0 comments on commit 72ba034

Please sign in to comment.