Get IP geolocation database configurations Generally available; Added in 8.15.0

GET /_ingest/ip_location/database/{id}

Required authorization

  • Cluster privileges: manage

Path parameters

  • id string | array[string] Required

    Comma-separated list of database configuration IDs to retrieve. Wildcard (*) expressions are supported. To get all database configurations, omit this parameter or use *.

Query parameters

  • master_timeout string

    The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. A value of -1 indicates that the request should never time out.

    Values are -1 or 0.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • databases array[object] Required
      Hide databases attributes Show databases attributes object
      • id string Required
      • version number Required
      • modified_date_millis number

        Time unit for milliseconds

      • modified_date number

        Time unit for milliseconds

      • database object
        Hide database attributes Show database attributes object
        • name string Required
        • web object
        • local object
          Hide local attribute Show local attribute object
          • type string Required
        • maxmind object
          Hide maxmind attribute Show maxmind attribute object
          • account_id string Required
        • ipinfo object
GET /_ingest/ip_location/database/{id}
GET /_ingest/ip_location/database/my-database-id
resp = client.ingest.get_ip_location_database(
    id="my-database-id",
)
const response = await client.ingest.getIpLocationDatabase({
  id: "my-database-id",
});
response = client.ingest.get_ip_location_database(
  id: "my-database-id"
)
$resp = $client->ingest()->getIpLocationDatabase([
    "id" => "my-database-id",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-id"