Create or update a GeoIP database configuration

  • PUT /_ingest/geoip/database/{id}
Auth

Refer to the create or update IP geolocation database configuration API.

Path parameters

id string required

ID of the database configuration to create or update.

Query parameters

master_timeout string · default: 30s

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.

timeout string · default: 30s

Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

Request body

name string required

The provider-assigned name of the IP geolocation database to download.

maxmind object required

The configuration necessary to identify which IP geolocation provider to use to download the database, as well as any provider-specific configuration necessary for such downloading. At present, the only supported provider is maxmind, and the maxmind provider requires that an account_id (string) is configured.

account_id string required

Response

application/json
acknowledged boolean required

For a successful response, this value is always true. On failure, an exception is returned instead.