Microsoft Windows DNS Server Content Pack

The following content pack is available for use with a Graylog Illuminate license and Graylog Enterprise or Graylog Security. Contact sales to learn more about obtaining Illuminate.

Microsoft Windows DNS Server is the DNS server role built into Windows Server. This technology pack processes Windows DNS Server Analytic (ETW) and Audit event logs, providing normalization and enrichment of DNS query, response, and administrative events.

Supported Versions

  • Windows Server 2016 or later

  • Filebeat 8.13.0-8.19.x

Requirements

  • Graylog 6.1.0+ with a valid Enterprise license

  • Windows Server 2016 or later with the DNS Server role installed

  • DNS Analytic and/or Audit logging enabled on the DNS server

  • Filebeat 8.13.0-8.19.x installed on the DNS server host

Log Collection and Delivery

DNS Server logs are collected via Filebeat running on the DNS server host and delivered to a Graylog Beats input.

Analytic Log Collection (ETW)

DNS Analytic logs capture every DNS query and response in real time via the Event Tracing for Windows (ETW) provider.

  1. Enable DNS Analytic logging on the DNS server: dnscmd /config /logLevel 0x8100F331 or via DNS Manager -> Debug Logging.

  2. Configure Filebeat with an ETW input targeting the Microsoft-Windows-DNSServer provider. The session_name must be set to DNSServer-Analytical.

  3. Deliver events to your Graylog Beats input.

Audit Log Collection (Winlog)

DNS Audit logs capture administrative changes such as zone creation, record modifications, and server configuration changes.

  1. DNS Audit logging is enabled by default on Windows Server 2012 R2 and later.

  2. Configure Filebeat with a Winlog input for the channel Microsoft-Windows-DNSServer/Audit.

  3. Deliver events to your Graylog Beats input.

Stream Configuration

This technology pack includes 1 stream:

  • "Illuminate:Windows DNS Server Event Messages"

Hint: If this stream does not exist prior to the activation of this pack then it is created and configured to route messages to this stream and the associated index set. There should not be any stream rules configured for this stream.

Index Set Configuration

This technology pack includes 1 index set definition:

  • "Windows DNS Server Event Messages"

Hint: If this index set is already defined, then nothing is changed. If this index set does not exist, then it is created with retention settings of a daily rotation and 90 days of retention. These settings can be adjusted as required after installation.

What is Provided

  • Parsing rules to extract Windows DNS Server Analytic and Audit logs into Graylog schema compatible fields

  • GIM event type code assignment for all supported message types

  • Domain element extraction (SLD, TLD) from queried FQDNs

  • Windows DNS Server Spotlight content pack

Events Processed by This Technology Pack

The content pack processes events from two Windows DNS Server log sources.

  • Analytic events (Event IDs 256-280): DNS queries, responses, recursive lookups, zone transfers, and dynamic updates captured via ETW

  • Audit events (Event IDs 512-582): Administrative changes including zone create/delete/update, record modifications, DNSSEC operations, server configuration changes, and policy operations

GIM Categorization

GIM categorization is provided for the following messages:

Fields Extracted by This Pack

Fields extracted vary by log type. Analytic events provide DNS query and response details; Audit events provide administrative action details.

Analytic Event Fields

Fields extracted from DNS Analytic (ETW) events (Event IDs 256-280).

Audit Event Fields

Fields extracted from DNS Audit (Winlog) events (Event IDs 512-582).

Windows DNS Server Spotlight Content Pack

The Windows DNS Server Spotlight offers a dashboard with the following tabs:

DNS Analytic Events

DNS Audit Events

Domain Analysis