Device | Details |
---|---|
Vendor | Microsoft |
Device Type | SMTP server |
Connection Type | Syslog |
Data Source Name | iis-nxlog |
Data Source ID | 1502 |
Open IIS Manager.
Right click on the SMTP Virtual Server and select Properties.
Click Properties next to the log format.
On the General tab, select Daily and keep the default log file directory
Important: The Sheriff plugin looks for the C:\\Windows\\System32\\LogFiles\\SmtpSvc1\\ex*
files by default. Therefore, if you change the location for the log files, you must update the nxlog.conf file (see below) accordingly.
On the Advanced tab, select all Extended Properties except Protocol Substatus.
Click OK.
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.
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 <Sheriff-CSM-Sensor-IP>
Uncomment the section between IIS-SMTP-NXLOG and /IIS-SMTP-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.
In addition, uncomment the following lines, above the DHCP-NXLOG section:
#<Extension json> # Module xm_json #</Extension>
Save the file.