The query log is written in the [JSONL][jsonl] (JSON Lines) format. The log entries are designed to be concise and easily compressable. An example of the log output:
-<ahref="#properties-b"id="properties-b"name="properties-b">`b`</a>: The detected profile ID (also known as DNS ID and DNS Server ID), if any. The short name `b` stands for “buyer”.
-<ahref="#properties-c"id="properties-c"name="properties-c">`c`</a>: The detected country of the client's IP address as an [ISO 3166-1 alpha-2][wiki-iso] country code, if any. If none could be detected, this property is absent. The short name `c` stands for “client country”.
-<ahref="#properties-d"id="properties-d"name="properties-d">`d`</a>: The detected country of the first IP address in the response sent to the client, as an [ISO 3166-1 alpha-2][wiki-iso] country code, if any. If none could be detected, this property is absent. The short name `d` stands for “destination”.
> Just like in the `c` field, `XK` is used for the partially-recognized state of the Republic of Kosovo. In addition to that, the code `QN`, “Not Applicable”, is used when the resource-record type of the response does not contain any IP-address information (for example, responses to `TXT` requests).
-<ahref="#properties-l"id="properties-l"name="properties-l">`l`</a>: The ID of the first filter the rules of which matched this query. If no rules matched, this property is omitted. The short name `l` stands for “list of filter rules”.
-<ahref="#properties-m"id="properties-m"name="properties-m">`m`</a>: The text of the first rule that matched this query or the ID of the blocked service, if the ID of the filtering rule list is `blocked_service`. If no rules matched, this property is omitted. The short name `m` stands for “match”.
-<ahref="#properties-t"id="properties-t"name="properties-t">`t`</a>: The [Unix time][wiki-unix] at which the request was received, in milliseconds. The short name `t` stands for “time”.
-<ahref="#properties-a"id="properties-a"name="properties-a">`a`</a>: The detected [autonomous system][wiki-asn] number (aka ASN) of the client's IP address, if any. If none could be detected, this property is absent. The short name `a` stands for “ASN”.
-<ahref="#properties-e"id="properties-e"name="properties-e">`e`</a>: The time passed since the beginning of the request processing, in milliseconds. The short name `e` stands for “elapsed”.
-<ahref="#properties-q"id="properties-q"name="properties-q">`q`</a>: The type of the resource record of the query. The short name `q` stands for “question”.
-<ahref="#properties-rn"id="properties-rn"name="properties-rn">`rn`</a>: A random 16-bit unsigned integer added to an entry for easier deduplication when `"u"` is not used for that.
-<ahref="#properties-f"id="properties-f"name="properties-f">`f`</a>: The action taken with this request. The short name `f` stands for “filtering”. The possible values are:
-`0`: invalid or unknown action (typically, this value is not used)
-`1`: no filtering
-`2`: the request (question) is blocked
-`3`: the response (answer) is blocked
-`4`: the request (question) is allowed by an allowlist rule
-`5`: the response (answer) is allowed by an allowlist rule
-`6`: the request (question) or response (answer) was modified or rewritten by a safety filter or a DNS rewrite rule
-<ahref="#properties-s"id="properties-s"name="properties-s">`s`</a>: The status of whether the response was validated with DNSSEC. `0` means no, `1` means yes. The short name `s` stands for “secure”.
-<ahref="#properties-p"id="properties-p"name="properties-p">`p`</a>: The DNS protocol used to process this request. The short name `p` stands for “protocol”. The possible values are:
-`0`: invalid or unknown protocol (typically, this value is not used)
-<ahref="#properties-r"id="properties-r"name="properties-r">`r`</a>: The response code (aka `RCODE`) sent to the client. The short name `r` stands for “response”.
-<ahref="#properties-ip"id="properties-ip"name="properties-ip">`ip`</a>: The IP address of the client. This field is omitted in case the IP logging is turned off for the corresponding profile. The short name `ip` stands for “IP”.