Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

log parser report problem

Posted on 2011-02-11
2
Medium Priority
?
833 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2

885 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