Create or update a GeoIP database configuration Generally available; Added in 8.15.0
Refer to the create or update IP geolocation database configuration API.
Query parameters
-
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.
External documentation -
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
External documentation
Body Required
-
The provider-assigned name of the IP geolocation database to download.
-
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.
PUT /_ingest/geoip/database/{id}
curl \ --request PUT 'http://api.example.com/_ingest/geoip/database/{id}' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --data '{"name":"string","maxmind":{"account_id":"string"}}'