# GeoLocation Tags

GeoLocation tags are based on a Geo location database, tags are derived from the client IP.

### Client IP

`client.ipv4.addr::<IP>`

`client.ipv6.addr::<IP>`

For example, to match a client IP 107.23.195.228 `client.ipv4.addr::107.23.195.228`.

### Country Code

`client.country.code::<county_code>`

List of ISO 3166 country codes.

For example, to match a client IP from USA `client.country.code::US`

### Continent Code

`client.continent.code::<county_code>`

| Code | Continent name |
| --- | --- |
| AF | Africa |
| AN | Antarctica |
| AS | Asia |
| EU | Europe |
| NA | North america |
| OC | Oceania |
| SA | South america |

For example, to match a client IP from North america `client.continent.code::NA`

### City Name

`client.city.name.en::<city_name>`

For example, to match a client IP from Ashburn `client.city.name.en::Ashburn`

### Time Zone

`client.timezone::<timezone name>`

TZ database name.

For example, to match a client IP from the New York timezone `client.timezone::America/New_York`
