You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/ingest/processors/geoip.asciidoc
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ IPv4 or IPv6 address.
9
9
10
10
[[geoip-automatic-updates]]
11
11
By default, the processor uses the GeoLite2 City, GeoLite2 Country, and GeoLite2
12
-
ASN GeoIP2 databases from http://dev.maxmind.com/geoip/geoip2/geolite2/[MaxMind], shared under the
12
+
ASN IP geolocation databases from http://dev.maxmind.com/geoip/geoip2/geolite2/[MaxMind], shared under the
13
13
CC BY-SA 4.0 license. It automatically downloads these databases if your nodes can connect to `storage.googleapis.com` domain and either:
14
14
15
15
* `ingest.geoip.downloader.eager.download` is set to true
@@ -38,7 +38,7 @@ field instead.
38
38
| Name | Required | Default | Description
39
39
| `field` | yes | - | The field to get the ip address from for the geographical lookup.
40
40
| `target_field` | no | geoip | The field that will hold the geographical information looked up from the MaxMind database.
41
-
| `database_file` | no | GeoLite2-City.mmdb | The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the `ingest-geoip` config directory.
41
+
| `database_file` | no | GeoLite2-City.mmdb | The database filename referring to one of the automatically downloaded GeoLite2 databases (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or the name of a supported database file in the `ingest-geoip` config directory.
42
42
| `properties` | no | [`continent_name`, `country_iso_code`, `country_name`, `region_iso_code`, `region_name`, `city_name`, `location`] * | Controls what properties are added to the `target_field` based on the geoip lookup.
43
43
| `ignore_missing` | no | `false` | If `true` and `field` does not exist, the processor quietly exits without modifying the document
44
44
| `first_only` | no | `true` | If `true` only first found geoip data will be returned, even if `field` contains array
@@ -47,15 +47,18 @@ field instead.
47
47
48
48
*Depends on what is available in `database_file`:
49
49
50
-
* If the GeoLite2 City database is used, then the following fields may be added under the `target_field`: `ip`,
0 commit comments