Parsers and Generated Fields

Tag Fields Created by Parser microsoft-windows-dns
  • #Cps.version

  • #Vendor

  • #ecs.version

  • #event.dataset

  • #event.kind

  • #event.module

  • #event.outcome

  • #observer.type

Fields Identified by Parser microsoft-windows-dns
Source FieldCPS FieldDescriptionMapping
__timestamp, __timestamp1@timestampEvent timestampParsed from timestamp fields using parseTimestamp function
Vendor.RemoteIP, Vendor.IPclient.addressClient addressConditionally mapped based on direction and DNS type
client.addressclient.domainClient domain nameCopied from client.address if domain name
client.addressclient.ipClient IP addressCopied from client.address if IP address
Vendor.RemoteIPdestination.addressDestination addressConditionally mapped based on direction and DNS type
destination.addressdestination.domainDestination domain nameCopied from destination.address if domain name
destination.addressdestination.ipDestination IP addressCopied from destination.address if IP address
Vendor.AnswerNamedns.answers[0].nameDNS answer record nameCopied from Vendor.AnswerName
Vendor.AnswerTypedns.answers[0].typeDNS answer record typeCopied from Vendor.AnswerType
Vendor.Flagsdns.header_flags[]DNS header flags arrayArray populated from Vendor.Flags
Vendor.PacketIDdns.idDNS packet identifierCopied from Vendor.PacketID
Vendor.Opcodedns.op_codeDNS operation codeCopied from Vendor.Opcode
Vendor.QuestionNamedns.question.nameDNS question nameParsed from Vendor.QuestionName with regex transformations
Vendor.QuestionTypedns.question.typeDNS question typeCopied from Vendor.QuestionType
Vendor.ResponseCodedns.response_codeDNS response codeCopied from Vendor.ResponseCode
Vendor.QR, dns.answers.typedns.typeDNS message typeDetermined by Vendor.QR field and dns.answers.type with conditional logic
Noneecs.versionECS schema versionStatic value: 9.2.0
dns.response_codeerror.messageError description for DNS failuresMapped from DNS response codes using match statement
error.reasonerror.reasonSocket failure reasonExtracted from socket failure messages using regex
Noneevent.category[]Event category arrayArray populated with static value: network
Vendor.EventReceivedTimeevent.createdEvent creation timestampCopied from Vendor.EventReceivedTime
Noneevent.datasetEvent datasetStatic value: windows.dns-debug
Vendor.XIDevent.idDNS transaction IDCopied from Vendor.XID
Noneevent.kindEvent categorizationStatic value: event
Noneevent.moduleEvent moduleStatic value: windows
Noneevent.type[]Event type arrayArray populated with static value: protocol
Vendor.Directionnetwork.directionNetwork packet directionMapped based on Vendor.Direction using match statement
Vendor.Protocolnetwork.transportNetwork protocol (UDP/TCP)Copied from Vendor.Protocol with lowercase transformation
Vendor.RemoteIPnetwork.typeNetwork address typeDetermined by IP address format using CIDR matching
Vendor.ThreadIDprocess.thread.idDNS server process thread ID as integerParsed from Vendor.ThreadID using parseInt function
Vendor.ThreadIDprocess.thread.nameDNS server process thread nameCopied from Vendor.ThreadID
Vendor.RemoteIPserver.addressServer addressConditionally mapped based on direction and DNS type
server.addressserver.domainServer domain nameCopied from server.address if domain name
server.addressserver.ipServer IP addressCopied from server.address if IP address
Vendor.RemoteIPsource.addressSource addressConditionally mapped based on direction and DNS type
source.addresssource.domainSource domain nameCopied from source.address if domain name
source.addresssource.ipSource IP addressCopied from source.address if IP address