Device | Details |
---|---|
Vendor | Microsoft |
Device Type | DNS Server |
Connection Type | Syslog |
Data Source Name | windns-nxlog |
Data Source ID | 1689 |
From the console tree, right-click the applicable DNS server, and then click Properties.
Click the Debug Logging tab.
Select Log packets for debugging.
The most useful debug logging output comes from selecting at least three options:
(Optional) Consider limiting the traffic captured by applying filters:
Warning: Do not select the Details option, because it produces logs in multi-line format instead of single-line, which the Sheriff CSM plugins cannot process.
C:\logs\dns.log.
If you use a different file path, you will need to open the nxlog.conf
file with a text editor and update the file path in the DNS-NXLOG section to reflect the file path you are using.
MM/DD/YYYY
date format so Sheriff CSM can parse the data correctly.If not done already, download nxlog.conf, and then place it in the conf directory of your NXLog installation. Depending on which version you use, the directory can be C:\Program Files (x86)\nxlog\conf
for the 32-bit version or C:\Program Files\nxlog\conf
for the 64-bit version.
Note: This step overwrites the default nxlog.conf file. You may want to back up the original copy before placing the one provided by AT&T Cybersecurity.
nxlog.conf
file in a text editor.
Update the root path of your NXLog installation.
Locate the following lines:
#define ROOT C:\Program Files\nxlog #define ROOT C:\Program Files (x86)\nxlog
Enter the Sheriff CSM Sensor (Deputy) IP address.
Locate the following line:
define OUTPUT_DESTINATION_ADDRESS <USM-Appliance-Sensor-IP>
<Sheriff-CSM-Sensor-IP>
with the IP address of the Sheriff CSM All-in-One or Sheriff CSM Sensor that will receive the Windows events.
Uncomment the section between DNS-NXLOG and /DNS-NXLOG.
Important: Only remove the first # symbol in each line when uncommenting the sections. The remaining # symbol indicates that the line is either a comment or optional.
Verify the file path defined in the section. Update the file name and path to match your DNS debug log location.
Using the same example above, you need to change the File
parameter as shown below:
<Input DNS_Logs> Module im_file File "C:\\logs\\dns.log"
In addition, uncomment the following lines, above the DHCP-NXLOG
section:
#<Extension json> # Module xm_json #</Extension>
Save the file.