Solved

IIS Logs: Code for page visits

Posted on 2014-01-06
3
279 Views
Last Modified: 2016-02-24
We have a web application running on IIS. People access our application at www.example-domain.com. If I wanted to search through the IIS logs or run an analyzer tool against the IIS logs, what code should I search for to count total page views.
0
Comment
Question by:pzozulka
3 Comments
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 250 total points
Comment Utility
here is an article talking about log parser it may be helpful

http://blogs.msdn.com/b/carlosag/archive/2010/03/25/analyze-your-iis-log-files-favorite-log-parser-queries.aspx


i recommend to use Google analytic that will show you all details
or if you are hosting with some company then they have statistics for this
0
 
LVL 7

Assisted Solution

by:Kishan Zunjare
Kishan Zunjare earned 250 total points
Comment Utility
Hi Pzozulka,

You can get more information on IIS Log - http://www.iislogs.com

If you want to get information about page visits, I will recommend you to go with any analytical tool like Google analytics(https://developers.google.com/analytics/devguides/?csw=1)

Or you can do custom development and save visitis and other into database.

Hope this helps.
- Kishan
0
 
LVL 8

Author Comment

by:pzozulka
Comment Utility
Using analytic tools is not an option at the moment. The IIS logs are archived on a central log server which allows me to run custom queries. All I need is to create the query -- for example:

"Show me all logs for 2013 where code = XXX"

XXX represents a page view.

Any ideas what that code might be? How else can I look at an IIS log to determine page views -- let's assume I have only 25 lines in the IIS log so no need for analyzer tools.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now