When you configure your Microsoft Internet Information Services (IIS) to send log data to USM Appliance, you can use the Microsoft IIS NXLog plugin to translate raw log data into normalized events for analysis. The table below provides some basic information for the plugin.
Device | Details |
---|---|
Vendor | Microsoft |
Device Type | Web server |
Connection Type | Syslog |
Data Source Name | iis-nxlog |
Data Source ID | 1502 |
Integrating Microsoft IIS and NXLog
Before configuring NXLog
Configure Logging in Microsoft IIS
To configure logging at the server level
- Open the IIS Manager.
- In the Connections tab, select the server and double-click the Logging icon.
- Under One log file per, select Site.
-
Under Log File, click Select Fields to choose the information you want to log.
Make sure to match the following screenshot because the Windows IIS plugin will look for these fields:
- Click Apply.
Configure NXLog on Windows
To send log data through NXLog to USM Appliance
-
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 LevelBlue.
- Open the 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
- Uncomment the path that matches the NXLog installation on your Windows machine.
-
-
Enter the USM Appliance Sensor IP address.
-
Locate the following line:
define OUTPUT_DESTINATION_ADDRESS <USM-Appliance-Sensor-IP>
- Replace <USM-Appliance-Sensor-IP> with the IP address of the USM Appliance All-in-One or USM Appliance Sensor that will receive the Windows events.
-
-
Uncomment the section between IIS-NXLOG and /IIS-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.
- Start or restart the NXLog service.
Plugin Enablement
For plugin enablement information, see Enable Plugins.
If enabling the plugin on assets, you will find it listed as Microsoft : IIS Internet Information Services : NXLog.
Additional Resources and Troubleshooting
For troubleshooting, refer to the vendor documentation: