ECS Field Reference
ECS 8.17
DNS
⚠️ Outdated Version: You are viewing ECS version 8.17, which is outdated. View the latest version (9.0)
ECS Version:

DNS

Fields describing DNS queries and answers.

Fields

Field Summary

FieldTypeLevelDescription
dns.answersobjectExtendedArray of DNS answers.
dns.answers.classkeywordExtendedThe class of DNS data contained in this resource record.
dns.answers.datakeywordExtendedThe data describing the resource.
dns.answers.namekeywordExtendedThe domain name to which this resource record pertains.
dns.answers.ttllongExtendedThe time interval in seconds that this resource record may be cached before it should be discarded.
dns.answers.typekeywordExtendedThe type of data contained in this resource record.
dns.header_flagskeywordExtendedArray of DNS header flags.
dns.idkeywordExtendedThe DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.
dns.op_codekeywordExtendedThe DNS operation code that specifies the kind of query in the message.
dns.question.classkeywordExtendedThe class of records being queried.
dns.question.namekeywordExtendedThe name being queried.
dns.question.registered_domainkeywordExtendedThe highest registered domain, stripped of the subdomain.
dns.question.subdomainkeywordExtendedThe subdomain of the domain.
dns.question.top_level_domainkeywordExtendedThe effective top level domain (com, org, net, co.uk).
dns.question.typekeywordExtendedThe type of record being queried.
dns.resolved_ipipExtendedArray containing all IPs seen in answers.data
dns.response_codekeywordExtendedThe DNS response code.
dns.typekeywordExtendedThe type of DNS event captured, query or answer.

Field Details

dns.answers

Type: object

Level: Extended

Description: Array of DNS answers.

Normalization: array

Indexed: true

dns.answers.class

Type: keyword

Level: Extended

Description: The class of DNS data contained in this resource record.

Example: IN

Indexed: true

dns.answers.data

Type: keyword

Level: Extended

Description: The data describing the resource.

Example: 10.10.10.10

Indexed: true

dns.answers.name

Type: keyword

Level: Extended

Description: The domain name to which this resource record pertains.

Example: www.example.com

Indexed: true

dns.answers.ttl

Type: long

Level: Extended

Description: The time interval in seconds that this resource record may be cached before it should be discarded.

Example: 180

Indexed: true

dns.answers.type

Type: keyword

Level: Extended

Description: The type of data contained in this resource record.

Example: CNAME

Indexed: true

dns.header_flags

Type: keyword

Level: Extended

Description: Array of DNS header flags.

Example: ["RD", "RA"]

Normalization: array

Indexed: true

dns.id

Type: keyword

Level: Extended

Description: The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.

Example: 62111

Indexed: true

dns.op_code

Type: keyword

Level: Extended

Description: The DNS operation code that specifies the kind of query in the message.

Example: QUERY

Indexed: true

dns.question.class

Type: keyword

Level: Extended

Description: The class of records being queried.

Example: IN

Indexed: true

dns.question.name

Type: keyword

Level: Extended

Description: The name being queried.

Example: www.example.com

Indexed: true

dns.question.registered_domain

Type: keyword

Level: Extended

Description: The highest registered domain, stripped of the subdomain.

Example: example.com

Indexed: true

dns.question.subdomain

Type: keyword

Level: Extended

Description: The subdomain of the domain.

Example: www

Indexed: true

dns.question.top_level_domain

Type: keyword

Level: Extended

Description: The effective top level domain (com, org, net, co.uk).

Example: co.uk

Indexed: true

dns.question.type

Type: keyword

Level: Extended

Description: The type of record being queried.

Example: AAAA

Indexed: true

dns.resolved_ip

Type: ip

Level: Extended

Description: Array containing all IPs seen in answers.data

Example: ["10.10.10.10", "10.10.10.11"]

Normalization: array

Indexed: true

dns.response_code

Type: keyword

Level: Extended

Description: The DNS response code.

Example: NOERROR

Indexed: true

dns.type

Type: keyword

Level: Extended

Description: The type of DNS event captured, query or answer.

Example: answer

Indexed: true