This commit changes the ECS field from geo.region_code to geo.region_iso_code
Before this change, 52.168.174.229 gives region_code: VA
The source of region_code is Maxmind iso_code. region_code is not a ECS field but region_iso_code is.
In ECS example the value ofregion_iso_code is CA-QC, which seems to be a combination of country iso code and region iso code. So, the current region_code is not the same as ECS schema region_iso_code.
Questions:
Can we change geo.region_code to geo.region_iso_code or keep it as is?
This commit changes the ECS field from
geo.region_code
togeo.region_iso_code
Before this change,
52.168.174.229
givesregion_code
:VA
The source of
region_code
is Maxmindiso_code
.region_code
is not a ECS field butregion_iso_code
is. In ECS example the value ofregion_iso_code
isCA-QC
, which seems to be a combination of country iso code and region iso code. So, the currentregion_code
is not the same as ECS schemaregion_iso_code
.Questions:
geo.region_code
togeo.region_iso_code
or keep it as is?Fixed: #195