API Stability Long-Term

The ipDatabaseInfo() GraphQL query returns information about the IP location database used by the LogScale instance.

For information on IP filters, see the IP Filter reference page.

Syntax

Below is the syntax for the ipDatabaseInfo() query field:

graphql
ipDatabaseInfo: IpDatabaseInfo!

Below is an example of how this query field might be used:

Show:
graphql
query {
  ipDatabaseInfo {dbFilePath, updateStrategy,
  metadata{type, buildDate, description, dbFileMd5} }
}
Example Responses
Show:
json
{
  "data": {
    "ipDatabaseInfo": {
      "dbFilePath": "/data/humio-data/IpLocationDb.mmdb",
      "updateStrategy": "Automatic updates using ipdb.humio.com",
      "metadata": {
        "type": "GeoLite2-City",
        "buildDate": "2024-10-22T13:14:51Z",
        "description": "GeoLite2City database",
        "dbFileMd5": "485c545b0bb70fe27c733b21b1c69852"
      }
    }
  }
}

Returned Datatypes

The returned datatype, ipDatabaseInfo has a few parameters, and some sub-parameters.

Table: IpDatabaseInfo

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
dbFilePathstringyes Long-TermThe absolute file path of the file containing the IP database used by LogScale.
metadataIpDatabaseMetadata  Long-TermMetadata about the IP Database used by LogScale. See IpDatabaseMetadata.
updateStrategystringyes Long-TermThe update strategy used for the IP Database.