Solved

log parser report problem

Posted on 2011-02-11
2
821 Views
Last Modified: 2012-05-11
experts, I'm using the script below, found here: http://blogs.msdn.com/b/jaskis/archive/2008/11/13/logparser-calculate-no-of-hits-for-different-browser-type-from-iis-logs.aspx to create a report on browser use on my website. When I run the report, the browser names come up blank for all but one of my browsers. I can't figure out why. Can you help?

i've attaced code snippets and GIF for assistance. as you'll see in the GIF, only FIRefox is shown, the others are blank???

Thanks in advance.  GIF
logparser.exe "select case strcnt(cs(user-agent),'Firefox') when 1 THEN 'Firefox' else case strcnt(cs(user-agent),'MSIE+6') when 1 THEN 'IE 6' else case strcnt(cs(user-agent),'MSIE+7') when 1 THEN 'IE 7' else case strcnt(cs(user-agent),'Safari') when 1 THEN 'Safaari' else case strcnt(cs(user-agent),'Opera') when 1 THEN 'Opera' ELSE 'Unknown' End End End End End as Browser,count(cs(User-Agent)) as Hits into c:\pie.gif from e:\temp\logs\ex110111.log group by cs(User-Agent)" -chartType:BarStacked -o:chart -values:ON -view:ON

Open in new window

0
Comment
Question by:Butterfield_Cayman
  • 2
2 Comments
 

Accepted Solution

by:
Butterfield_Cayman earned 0 total points
ID: 34874829
needed to group by browser
0
 

Author Closing Comment

by:Butterfield_Cayman
ID: 34874833
figured it out hours later
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

18 Experts available now in Live!

Get 1:1 Help Now