How to Merge IIS Log Files

Chris HoffmanUpdated July 20, 2017

Microsoft's Internet Information Services (IIS) Web server produces log files, which list information about Web server requests and file downloads, including their time, IP address, Web browser and more. Many utilities exist for graphically analysing the raw IIS log data, which can sometimes be split into multiple log files. If you need to merge IIS log files into a single log file, you can use Microsoft's LogParser utility. LogParser acts on log files using standard SQL database commands, allowing you to produce a single log from multiple log files.

Download and install Microsoft's LogParser utility (see Resources).

Click "Start," "All Programs," "Accessories" and "Command Prompt."

Type the following into the Command Prompt window:

cd "C:\Program Files\Logparser\"

Press "Enter."

Type the following into the Command Prompt window, replacing "C:\Logs\1.log" and "C:\Logs\2.log" with the paths of the logs you want to merge: