Add a step and choose the Elasticsearch connector.
Pick the Create or update a GeoIP database configuration action (under ingest).
Fill in the fields below, then reference the result from later steps as {{createOrUpdateAGeoipDatabaseConfiguration.response.data}}.
Request
Path parameters
idstringrequired
ID of the database configuration to create or update.
Query parameters
master_timeoutoneOf
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.
timeoutoneOf
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Request body
Enter the body as JSON in the step's Body field.
nameanyrequired
The provider-assigned name of the IP geolocation database to download.
maxmindanyrequired
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.
json
{"name":null,"maxmind":null}
Response
Returns 200 with an object. Read it in later steps with {{createOrUpdateAGeoipDatabaseConfiguration.response.data.<field>}}.
acknowledgedboolean
For a successful response, this value is always true. On failure, an exception is returned instead.
json
{"acknowledged":false}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?
Create or update a GeoIP database configuration — Elasticsearch — Documentation