Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

IIS Logs: Code for page visits

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
pzozulka
Asked:
pzozulka
2 Solutions
 
Kamal KhaleefaInformation Security SpecialistCommented:
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
 
Kishan ZunjareSr. Software EngineerCommented:
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
 
pzozulkaAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now