IIS Access Logs
Site24x7 AppLogs enhances IIS access logs monitoring experience by enabling search queries over IIS access log data. For your convenience the log information has been pre-refined into related fields such as date & time, serverIP, method, stemURI, server port, query URI, user name, client IP, user agent, referrer, status code, sub status code, Windows status code, and time taken. Learn more about log management with Site24x7.
Getting started
- Log in to your Site24x7 account.
- Download and install the Site24x7 Server Monitoring agent (Windows).
- Go to Admin > AppLogs > Log Profile and Add Log Profile.
Logs file path
Each application writes logs in different folders and files. By default, IIS access logs will be sourced from the below mentioned folder path for the respective Operating System. If have logs in a different folder, you can mention it under the File Path to source them from that particular folder while creating a log profile.
Log pattern
This is the default pattern defined by Site24x7 for parsing IIS access logs based on the sample mentioned below.
Sample log
2017-06-07 04:35:28 ::1 GET / - 9090 - ::1 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+rv:44.0)+Gecko/20100101+Firefox/44.0 - 403 14 0 8780
The above sample log can be separated into 14 fields, each of which will take its respective value from here and will then be uploaded to Site24x7.
Field name | Field value |
Date Time | 2017-06-07 04:35:28 |
ServerIP | ::1 |
Method | GET |
StemURI | - 9090 |
QueryURI | 1 |
Server Port | Mozilla |
USer Name | 5.0+(Windows+NT+6.3 |
Client IP | +WOW64;+rv:44.0)+Gecko |
User Agent | 20100101+Firefox |
Referer | 44.0 |
Status Code | 403 |
Sub Status Code | 14 |
Windows Status Code | 0 |
Time Taken | 8780 |
IIS access logs dashboard
AppLogs creates an exclusive dashboard for every Log Type, and shows a few widgets by default. Here's a list of the widgets available in the IIS access logs dashboard:
- Total Requests
- Average Response Time
- Failed Requests
- Top 20 Failed Requests
- User Agent Stats
- Request Trend
- Status Code Stats
- Response Time Stats
- Top 50 Successful Requests
- Failed Requests by Source (User Agent)
- Top 20 Slowest Requests