mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Add continent_code support to the geoip processor (#108780)
This commit is contained in:
parent
0f147d4aff
commit
e1b2b599de
7 changed files with 53 additions and 18 deletions
|
@ -48,11 +48,11 @@ field instead.
|
|||
*Depends on what is available in `database_file`:
|
||||
|
||||
* If a GeoLite2 City or GeoIP2 City database is used, then the following fields may be added under the `target_field`: `ip`,
|
||||
`country_iso_code`, `country_name`, `continent_name`, `region_iso_code`, `region_name`, `city_name`, `timezone`,
|
||||
`country_iso_code`, `country_name`, `continent_code`, `continent_name`, `region_iso_code`, `region_name`, `city_name`, `timezone`,
|
||||
and `location`. The fields actually added depend on what has been found and which properties were configured in `properties`.
|
||||
* If a GeoLite2 Country or GeoIP2 Country database is used, then the following fields may be added under the `target_field`: `ip`,
|
||||
`country_iso_code`, `country_name` and `continent_name`. The fields actually added depend on what has been found and which properties
|
||||
were configured in `properties`.
|
||||
`country_iso_code`, `country_name`, `continent_code`, and `continent_name`. The fields actually added depend on what has been found
|
||||
and which properties were configured in `properties`.
|
||||
* If the GeoLite2 ASN database is used, then the following fields may be added under the `target_field`: `ip`,
|
||||
`asn`, `organization_name` and `network`. The fields actually added depend on what has been found and which properties were configured
|
||||
in `properties`.
|
||||
|
@ -67,10 +67,10 @@ The fields actually added depend on what has been found and which properties wer
|
|||
`organization_name`, `network`, `isp`, `isp_organization`, `mobile_country_code`, and `mobile_network_code`. The fields actually added
|
||||
depend on what has been found and which properties were configured in `properties`.
|
||||
* If the GeoIP2 Enterprise database is used, then the following fields may be added under the `target_field`: `ip`,
|
||||
`country_iso_code`, `country_name`, `continent_name`, `region_iso_code`, `region_name`, `city_name`, `timezone`, `location`, `asn`,
|
||||
`organization_name`, `network`, `hosting_provider`, `tor_exit_node`, `anonymous_vpn`, `anonymous`, `public_proxy`, `residential_proxy`,
|
||||
`domain`, `isp`, `isp_organization`, `mobile_country_code`, `mobile_network_code`, `user_type`, and `connection_type`. The fields
|
||||
actually added depend on what has been found and which properties were configured in `properties`.
|
||||
`country_iso_code`, `country_name`, `continent_code`, `continent_name`, `region_iso_code`, `region_name`, `city_name`, `timezone`,
|
||||
`location`, `asn`, `organization_name`, `network`, `hosting_provider`, `tor_exit_node`, `anonymous_vpn`, `anonymous`, `public_proxy`,
|
||||
`residential_proxy`, `domain`, `isp`, `isp_organization`, `mobile_country_code`, `mobile_network_code`, `user_type`, and
|
||||
`connection_type`. The fields actually added depend on what has been found and which properties were configured in `properties`.
|
||||
|
||||
|
||||
Here is an example that uses the default city database and adds the geographical information to the `geoip` field based on the `ip` field:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue