Website Analytics

Hi Experts,
I need to write a custom application/windows service, which monitors the website hosted either in IIS/APACHE or WEBSPHERE and provides information regarding the Pagehits, and other information for analysis.
Similary to google analytics...
please suggest me the best method and feasible method to do this.... waiting for your responses..
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.

Web site software - eg IIS should create their own log files so its just a matter of grabbing data from there - possibly storing it somewhere else and then analysing and presenting that in whatever visual format you wish.
DeathraceAuthor Commented:
i'm looking at architectural view, which helps me to develop and application similar to google analytics
With the multiple server support you are looking for, you have two options.

1. Read each of the server W3C formatted log files.
2. Have each page that you wish to monitor contain a reference to javascript code on your reporting server which records page hits and available information found in the HTTP header. (exactly what Google does)

How you display or render the data is up to you.
DeathraceAuthor Commented:
You are correct,but is there any source code available on this log file parsing..
Use LogParser 2.2.

You can even incorporated LogParser assemblies into your .net application if you wish.

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
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
.NET Programming

From novice to tech pro — start learning today.