Get IP geolocation database configurations Generally available; Added in 8.15.0

GET /_ingest/ip_location/database

Required authorization

  • Cluster privileges: manage

Query parameters

  • 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

GET /_ingest/ip_location/database
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"