API Stability Long-Term

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

For some related information, see the asn() reference page.

Syntax

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

graphql
asnDatabaseInfo: IpDatabaseInfo!

For the given datatype, ipDatabaseInfo(), there are a few parameters that may be given. You'll have to specify which values you want returned. Below is an example with a couple of values requested:

Show:
graphql
query {
	asnDatabaseInfo: ipDatabaseInfo { 
    dbFilePath,
    updateStrategy
  }
}
Example Responses
Show:
json
{
  "data": {
    "asnDatabaseInfo": {
      "dbFilePath": "/app/humio/humio/humio-data/IpLocationDb.mmdb",
      "updateStrategy": "Automatic updates using ipdb.humio.com"
    }
  }
}

Notice that the example above requests two values be returned. They're separated by commas.

Given Datatypes

For the given datatype, ipDatabaseInfo, there are a few parameters. Below is a list of them along with a description of each:

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.