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.
LVL 8
pzozulkaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.