Location

Location data in Legacy Search datasets contain information related to the geographic location of the host. A complete list of host data fields and information is available in the in-app data definitions page.

Example fields

FieldTypeDescription
locationobject
location.citytextThe English name of the detected city.
location.continentkeywordThe English name of the detected continent (North America, Europe, Asia, South America, Africa, Oceania, Antarctica).
location.coordinatesobjectThe estimated coordinates of the detected location.
location.coordinates.latitudedouble
location.coordinates.longitudedouble
location.countrytextThe English name of the detected country.
location.country_codekeywordThe detected two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).
location.postal_codekeywordThe postal code (if applicable) of the detected location.
location.provincetextThe state or province name of the detected location.
location.registered_countrytextThe English name of the registered country.
location.registered_country_codekeywordThe registered country's two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).
location.timezonetextThe IANA time zone database name of the detected location.

Example queries

Query descriptionLegacy Search queryRun query in Legacy Search
Find hosts by citylocation.city: MoscowTry it
Search for hosts whose location is within a box specified by its geographic coordinates
Draw a box and open Search with the coordinate ranges populated
location.coordinates.latitude: [31.2221970321032 to 31.596082850911525] and location.coordinates.longitude: [34.16473388671876 to 34.58908081054688]Try it
Return all hosts located either in the United States or Canadalocation.country: Canada or location.country: “United States”Try it
Return all hosts whose country is among this set of countries in the Americaslocation.country: {Canada, Chile, Honduras, Mexico, “United States”, Uruguay}Try it
Search for hosts in the U.S. with any reference to the string "teslamate"(teslamate) and location.country="United States"Try it
Search for hosts in Russialocation.country: RussiaTry it
Find hosts running software from a specific countrylocation.country: Russia and services.software.product: gSOAPTry it
Search for hosts in Israel, excluding Tel Avivlocation.country_code=IL and not location.city: "Tel Aviv"Try it
Find hosts by countrylocation.country: RussiaTry it
Find North Korean Hostslocation.country: "North Korea"Try it
Find hosts by statelocation.province: MichiganTry it
Find hosts by state and citylocation.province: Michigan and location.city: DetroitTry it