plugin/geoip - Support for ISO 3166-2 subdivisions. (#7728)

Metadata `geoip/subdivisions/code` now available if geoip plugin is used.

Signed-off-by: Tomas Boros <tomas.boros92@gmail.com>
This commit is contained in:
Tomas Boros
2025-12-02 13:39:13 +01:00
committed by GitHub
parent c2894d47d6
commit b472d3dbdb
3 changed files with 15 additions and 0 deletions

View File

@@ -141,6 +141,7 @@ A limited set of fields will be exported as labels, all values are stored using
| `geoip/longitude` | `float64` | `0.1315` | Base 10, max available precision.
| `geoip/timezone` | `string` | `Europe/London` | The timezone.
| `geoip/postalcode` | `string` | `CB4` | The postal code.
| `geoip/subdivisions/code` | `string` | `ENG,TWH` | Comma separated [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision(region) codes, e.g. first level (province), second level (state).
| `geoip/asn/number` | `uint` | `396982` | The autonomous system number.
| `geoip/asn/org` | `string` | `GOOGLE-CLOUD-PLATFORM` | The autonomous system organization.