How to Merge IIS Log Files

Written by chris hoffman Google
  • Share
  • Tweet
  • Share
  • Email

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.

Skill level:

Other People Are Reading


  1. 1

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

  2. 2

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

  3. 3

    Type the following into the Command Prompt window:

    cd "C:\Program Files\Logparser\"

    Press "Enter."

  4. 4

    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:

    LogParser.exe -i:iisw3c "select * into merged.log from C:\Logs\1.log, C:\Logs\2.log" -o:w3c

    Press "Enter."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.