Type to search.

Geo fields

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Geo fields can carry data about a specific location related to an event.

This geolocation information can be derived from techniques such as Geo IP, or be user-supplied.

Field Description Level
geo.city_name City name.

type: keyword

example: Montreal

OTel Badge equivalent geo.locality.name
core
geo.continent_code Two-letter code representing continent's name.

type: keyword

example: NA

OTel Badge equivalent geo.continent.code
core
geo.continent_name Name of the continent.

type: keyword

example: North America
core
geo.country_iso_code Country ISO code.

type: keyword

example: CA

OTel Badge equivalent geo.country.iso_code
core
geo.country_name Country name.

type: keyword

example: Canada
core
geo.location Longitude and latitude.

type: geo_point

example: { "lon": -73.614830, "lat": 45.505918 }

OTel Badge related geo.location.lat

OTel Badge related geo.location.lon
core
geo.name User-defined description of a location, at the level of granularity they care about.

Could be the name of their data centers, the floor number, if this describes a local physical entity, city names.

Not typically used in automated geolocation.

type: keyword

example: boston-dc
extended
geo.postal_code Postal code associated with the location.

Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.

type: keyword

example: 94040

OTel Badge match geo.postal_code
core
geo.region_iso_code Region ISO code.

type: keyword

example: CA-QC

OTel Badge equivalent geo.region.iso_code
core
geo.region_name Region name.

type: keyword

example: Quebec
core
geo.timezone The time zone of the location, such as IANA time zone name.

type: keyword

example: America/Argentina/Buenos_Aires
core

The geo fields are expected to be nested at:

  • client.geo
  • destination.geo
  • host.geo
  • observer.geo
  • server.geo
  • source.geo
  • threat.enrichments.indicator.geo
  • threat.indicator.geo

Note also that the geo fields are not expected to be used directly at the root of the events.