Returns information about one or more IP location database configurations Added in 8.15.0

GET /_ingest/ip_location/database

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.

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
      • Time unit for milliseconds

      • Time unit for milliseconds

      • database object

        Additional properties are allowed.

        Hide database attributes Show database attributes object
        • name string Required
        • web object

          Additional properties are allowed.

        • local object

          Additional properties are allowed.

          Hide local attribute Show local attribute object
        • maxmind object

          Additional properties are allowed.

          Hide maxmind attribute Show maxmind attribute object
        • ipinfo object

          Additional properties are allowed.

GET /_ingest/ip_location/database
curl \
 -X GET http://api.example.com/_ingest/ip_location/database
Response examples (200)
{
  "databases": [
    {
      "id": "string",
      "version": 42.0,
      "": {
        "name": "string",
        "web": {},
        "local": {
          "type": "string"
        },
        "maxmind": {
          "account_id": "string"
        },
        "ipinfo": {}
      }
    }
  ]
}