FlashComGuru Home Imediasee Influxis Uvault Akamai
                                                                                       Forum Index | Active Topics | Register
                                                                                                          List Overview | List Archives
                                                                                                                           About this site | Advertise
 

home

Adobe AIR (8)
Applications (32)
Books & Training (9)
Collaboration (9)
Components (6)
Events (52)
Flash Player (11)
Flex (30)
FMS (73)
General (110)
Hosting (5)
Jobs (13)
Off topic (32)
Press Releases (11)
Site Check (8)
Tools (42)
Videos & Players (56)

Alltop, all the cool kids (and me)

 
I just had a quick play with Microsoft's Logparser tool and boy it's a powerful piece of kit. I was able to quickly gather some log data using a SQL-like syntax. For example this piece of code parses all access logs of my FMS server, selects all cs-bytes fields where the event equals 'play' and lists them in the console window:

logparser "SELECT cs-bytes FROM 'C:\Program Files\Macromedia\Flash Media Server\logs\access*.log' where x-event='play'" -i:W3C

Ok, this query makes little sense but I guess it gives an idea of what can be done.

Logparser can not only output to text files but can also generate HTML reports, charts and even submit to a database (logging) server.

I guess all we need to do is figure out the syntax for meaningful queries and reports... Post in the comments if you can come up with anything. Things such as 'how much data has xyz application consumed' or 'how many users have logged on to this app in the last 2 weeks' would be useful starting points.

Download Logparser 2.2

Related Articles

Comments
[Add Comment]
Thanks for posting this!

After a bit of playing I've managed to call the com version of Logparser from an asp.net page and get queries printed out in the browser. Will post some queries soon.
# Posted By John B | 6/2/06 10:16 AM
Nice ! John, please post some queries and if possible the code for your asp.net page!

Thanks!

D.
# Posted By Dimitri | 8/3/06 4:18 PM
Log parser 2.2 seems to have a problem, however, with FMS2 W3C logs that are put out by Akamai's logging solution. It has trouble parsing them and frequently indicates that a "Log row is too long". I am trying to identify why, but have not discovered the root cause.
# Posted By EricS | 7/2/07 6:37 PM