IIS Log Analysis

LogViewPlus uses SQL to turn your IIS log file into prebuilt reports. You can also execute custom SQL statements to quickly generate your own reports.

LogViewPlus Screenshot
Play

Analyzing an IIS log file in LogViewPlus. (1:41)

Video Highlight

LogViewPlus uses built-in support for IIS log files to generate SQL based reports showing users over time, average response times, result code aggregation and more. Do you use a different web server like Apache? No problem. It's easy to create custom reports from any log file.


Direct Log File Analysis

LogViewPlus does not store data or forward it to another system. We analyze each log file individually. This ensures that our solution is ready out of the box with zero configuration while also providing the flexibility you need to adapt to new requirements. If you need to analyze data across a time range that exceeds a single file, LogViewPlus can merge your log files into a single view. All reports will update automatically as the view changes.

Requests by File Extension

Peak Traffic by Hour

SELECT DATEPART(hour, [Timestamp]) AS Hour, 
	COUNT(*) AS Requests
FROM CurrentView
GROUP BY DATEPART(hour, [Timestamp]) 
ORDER BY Requests DESC

Requests by File Extension

SELECT TOP 5 
	GetFileExtension(cs-uri-stem) as Extension, 
	COUNT(*) As Hits 
FROM CurrentView 
WHERE NOT (IsNull(GetFileExtension(cs-uri-stem), '') = '')
GROUP BY Extension 
ORDER BY Hits DESC

Explore with SQL

LogViewPlus uses a custom SQL engine based on Transact-SQL which makes it is easy to transform your data. The SQL engine works with the parsed log entry data already in memory. So query execution is super fast while avoiding the need to put your data into another system. Fast query execution based on a standard query language makes LogViewPlus a great tool for exploring your logs to gain new insight.

Requests Per Minute

Error Status Codes

SELECT TOP 5 sc-status, 
	sc-substatus, sc-win32-status, 
	COUNT(*) AS ErrorCount
FROM CurrentView
WHERE sc-status NOT LIKE '2%'
GROUP BY sc-status, sc-substatus, sc-win32-status
ORDER BY ErrorCount DESC

Requests Per Minute

SELECT CAST(Timestamp AS smalldatetime) AS Time, 
	COUNT(*) AS Entries
FROM CurrentView
GROUP BY CAST(Timestamp AS smalldatetime)
ORDER BY Time

Report Dashboards

Dashboards are a way to group multiple reports into the same view. They are a great way to visualize a diverse set of data and quickly understand what your logs are telling you. Multiple chart types are supported including bar, pie, line, point, and area as well as stacked charts. You can also display data in a grid which works great when the data can be neatly summarized in SQL. With dashboards, you can go from SQL statement to chart in a few seconds.

Request Response Times

Most Active Users with Reverse DNS

SELECT REVERSEDNS([c-ip]) As Name, 
	[c-ip] As Machine, Hits 
FROM (
	SELECT TOP 5 [c-ip], COUNT(*) As Hits
	FROM CurrentView
	GROUP BY [c-ip]
	ORDER BY Hits DESC
)

Response Times

SELECT TOP 10 
    cs-uri-stem as URL, 
    MAX(time-taken) As Max, 
    MIN(time-taken) As Min, 
    Avg(time-taken) As Average 
FROM CurrentView 
GROUP BY URL 
ORDER By Average DESC

Merging & Filtering

SQL reports are fully integrated with other LogViewPlus features. For example, you can open multiple files in LogViewPlus and merge them into a single view. This allows you to import more data and expand your reports on demand. Another example is filtering. Filtering is like searching in LogViewPlus with each filter creating a separate view. When the view changes, your reports update automatically. This is kind of like adding WHERE clauses on to your SQL statements, but much more dynamic.

Requests by IP Address

Most Active Users with Reverse DNS

SELECT TOP 5 COUNT(DISTINCT [c-ip]) AS UniqueVisitors,
	[cs-uri-stem]
FROM CurrentView
GROUP BY [cs-uri-stem]
ORDER BY UniqueVisitors DESC

Requests by IP Address

SELECT TOP 10 c-ip As Machine, 
	COUNT(*) As Requests 
 FROM CurrentView
 GROUP BY Machine
 ORDER BY Requests DESC

Best of all, you are in control.

LogViewPlus has some prebuilt reports, but these are just the start. With custom SQL and quick charting built-in, you can explore your data any way you want. Check out our documentation for more IIS log analysis SQL statements.

SELECT TOP 5 [cs-username], 
	[c-ip], COUNT(*) AS FailedLoginAttempts
FROM CV
WHERE sc-status = '401'
GROUP BY [cs-username], [c-ip]
ORDER BY FailedAttempts

Plus tons of other useful features!

LogViewPlus can help you with a lot more than just IIS log files. LogViewPlus is a full featured log file analysis program. Check out some of our other great features in our short video tutorials.

Checkmark
Archive your analysis and upload it into another system for tracking.
Checkmark
Directory Monitors automatically detect and open new log files.
Checkmark
Quick statistics help you understand your logs with zero configuration.
Checkmark
Advanced message parsing extracts data from log entry messages.
Checkmark
Bookmarks and comments help you track important log entries.
Checkmark
A custom directory browser that makes it easy to find your log files.
Checkmark
LogViewPlus has extensive settings options for easy configuration.
Checkmark
A highly customizable grid view that lets you control visible data.
Checkmark
Templates can help you quickly apply common filter chains.
Checkmark
Add filters to a search results view for easier log entry lookup.
Checkmark
Advanced text search with regex, highlights, and wildcards.
Checkmark
LogViewPlus can automatically tail log files as they are rolled.
Checkmark
Copied log entries are pasted with formatting for sharing over email.
Checkmark
Create a temporary log file from your clipboard for easy data import.
Checkmark
Open a new SSH session for any SFTP file being monitored.
Checkmark
The Parser Configuration Wizard simplifies log parser configuration.
Checkmark
Session tracking collects and groups new log entries over time.
Checkmark
Elapsed time column is calculated for all log entries in every view.
Checkmark
Workspaces can remember and reload your log files and views.
Checkmark
Navigation Reports let you filter your log file using simple reports.
Checkmark
Export log entry views into other formats such as CSV or HTML.
Checkmark
SMTP event notifications can monitor log files and send emails.

Level up your log files in 2 minutes.

See how we can help you read and analyze log files with our free trial.