Luden
GuinsooLabGitHub
  • Welcome to Luden!
  • Quickstart
    • Deploying with Docker
    • Building from Source
    • Scaling Luden Server
  • Configuration
    • Configuration
    • Authorization
    • Destinations Conf
      • Snowflake
      • AWS S3
      • AWS RedShift
      • Postgres
      • Google BigQuery
      • MySQL
      • Clickhouse
      • Guinsoo
      • WebHook
    • Sources Conf
      • Synchronization Scheduling
      • Airbyte Based Sources
    • Sources Catelog
  • Features
    • JavaScript Transform
    • Destination Tags
    • Data Warehouses
    • Match Mode
    • Stream Mode
    • DBT Cloud Integration
    • Event Cache
    • Geo Data Resolution
    • Typecast
    • Admin Endpoint
    • Application Metrics
  • Sending Data
    • JS SDK
    • Node.js
    • Event API
    • Bulk API
    • Segment API
  • Extending
    • Destination Extensions
    • Source Extensions
    • API Specs
    • Luden Architecture
  • Appendix
    • Contribute
    • FAQs
Powered by GitBook
On this page
  1. Features

Geo Data Resolution

PreviousEvent CacheNextTypecast

Last updated 2 years ago

Luden looks up geolocation data by IP address during enrichment step. Here's a full list of fields Luden could get from the IP address:

{
  "location": {
    "continent": "North America",
    "country": "US",
    "country_name": "United States",
    "region": "NY",
    "city": "New York",
    "latitude": 40.7809,
    "longitude": -73.9502,
    "zip": "10128",
    "autonomous_system_number": 16509,
    "autonomous_system_organization": "AMAZON-02",
    "organization": "Amazon.com",
    "domain": "amazonaws.com"
  }
}

Configuration

Luden uses databases for doing geo lookup. There are two families of MaxMind databases: GeoIP2 and GeoLite2.

  • Put obtained license key on Luden UI → Geo data resolver section if you're using Configurator UI.

With the key, Luden will download all databases available for the key. If you want to limit the databases, you can specify them as a postfix to Maxmind license key as [key]?edition_id=GeoIP2-City,GeoIP2-ISP

Also, you can point MAX_MIND_PATH environment variable directly to a local file.

GeoIP2 databases such as GeoIP2-Country, GeoIP2-City, GeoIP2-ISP, GeoIP2-Domain are paid product. You can buy a license on . After purchasing, you will receive a license key. You can use the license key Luden:

Or use .

GeoLite2 databases such as GeoLite2-Country, GeoLite2-City, GeoLite2-ASN are free. For obtaining them you should just create a and generate a license key. Configuration steps are the same as with paid database: either put obtained license key on Jitsu UI → Geo data resolver, or useMAX_MIND_PATH

MaxMind
maxmind.com
MAX_MIND_PATH env variable
free account