How to Read & Customize IIS Log Files


How to Read & Customize IIS Log Files

Posted on |
IIS Log Files


(IIS Log File) Internet Information Services has a logging structure that is both quick and adaptable. Whenever an incident is recorded, the appropriate logging component is used. The IIS log files may be used to investigate a variety of problems, as well as statistics and IIS consumption. Knowing how to understand and adjust them is therefore quite important.

The IIS web server from Microsoft employs an uncommon non-standard file type. IIS Log Files are saved in a storage file system and include remarks. In the remarks, the column titles are specified.

This post will show you how to go about accomplishing that. You’ll also learn where to look for IIS log files. Therefore, presuming you got IIS set up for Windows hosting services, let’s get started.

How to Read and Understand IIS Log File types

Following are some of the most important things to remember about IIS log file types:

  • IIS may create distinct files for each day, hour, and IIS website
  • Remarks are words that begin with a #.
  • IIS will add the latest iteration, time, and attributes to that same IIS log file every time it starts, as illustrated below.
  • The document is now in the form of a space-delimited format.
  • Because gaps are not permitted, fields with no data will display a dash (-).
IIS Log Files

Where Can I Find IIS Log Files?

If you really want to discover where your logging files are stored, use the following steps:

  • To access Administrative Tools, go to Start > Control Panel > Administrative Tools.
  • Internet Information Services should be run (IIS).
  • Within the left-hand tree option, look for your webpage. Make a note of the ID for your website.
  • Now go to your website and click on it. After that, double-click the Logging button. The recording settings window will appear.
  • On the logging options menu, scroll down to the bottom. You’ll see a box with the location of your recording files in it.

IIS Log Files Customization

Inside the IIS Administrator panel, IIS gives a few options for personalising your IIS log files. You could use the usual W3C standard, IIS, NCSA, or customised file types to IIS log events.

You may also control how well the IIS log files are rolled over. This specifies whether a new file is produced every hour, every day, every week, and so on. Alternatively, you may define a maximum file size.

It is also possible to alter the variables that are recorded. You can delete fields you might not need, choose from a list of optional columns, or add your new. The values for the form fields should indeed be taken from the Header fields or client parameters.

IIS Log Files: How to Analyze Them

Log Parser 2.2 and Log Parser Studio are two examples of applications that can interpret IIS log files. There is no user interface in Log Parser 2.2. As a result, the majority of users find it tough and hard. Log Parser Studio, on the other extreme, has no such issues. It has a basic yet effective user interface. As a result, you will have no problems utilising it. The procedures for parsing IIS log files using Log Parser Studio may be found here.

How to Use Log Parser Studio to Parse IIS Log Files

  • Log Parser Studio will be launched.
  • Go to File > New Query to start a new query.
  • Choose your IIS log files by clicking the Open button.
  • Choose IISW3CLOG as the log format.

How to Use Log Management to Understand and Evaluate IIS Log Files

You should combine your IIS log files into a log management system if you really want to get much more out of them. These tools will help you in seeing and querying them in live time throughout your servers. Backtrack includes log management among its capabilities.

Retrace and Aggregate Search throughout all servers using log management.

Log data archiving Keep an eye on your logs for any possible issues.

Ensure that all IT resources are easily accessible.

IIS Log Files Customization

You may configure IIS log files using a number of parameters in the IIS Manager panel. You have control over how IIS log files are rolled over. You’ll be able to tell whether documents are made hourly or weekly with this tool.

You may also modify the parameters that are logged. You can either delete the fields that aren’t needed or add your own. All you have to do is use W3C logging fields. Choose Fields, which is next to the Format choice option, is where you’ll locate them.


You have learnt how to locate the IIS log files in this tutorial. You’ve also learnt how to analyze them with Parser Studio.


You may use DataServerMarket to locate connectivity solutions for your IT problems. DataServerMarket creates shared facilities that may be used by a variety of clients on-site. 

Some of the services that DataServerMarket provides are listed below:

  • For quicker communication, DataServerMarket links multiple clouds and data storage sites. 
  • DataServerMarket provides business solutions for data and processing connectivity. 
  • DataServerMarket also provides specialist professional guidance and electronic adaptability and connectivity services. 
  • Cloud video conferencing, worldwide telephony services, and IP communication between consumers and Service Providers are also available through DataServerMarket. 
  • Storage choices, Vpn Clouds, private mail systems, relocation, and data transfer solutions are all available through DataServerMarket.
IIS Log Files

Leave a Reply

Your email address will not be published. Required fields are marked *