On Jun 29, 1:52 am, JimLad <jamesdbi....RemoveThis@yahoo.co.uk> wrote:
> Hi,
>
> I've just started using Log Parser on our web app. It has never really
> been looked at from a performance point of view before.
>
> For my analysis of slow running pages I have used the filter sc-status
> = 200. Is this valid?
>
> I have also done a count of the different statuses which are occuring.
> Here they are:
>
> sc-status count
> --------- ------------
> 401 95798
> 200 86081
> 302 352
> 304 1484
> 404 702
> 500 5
> 403 48
>
> Is there anything there that I should worry about? We're using
> Kerberos, if that makes any difference.
>
> Cheers,
>
> James
It all depends on how worrisome you are.
If you want to analyze status codes, you want to look at it for each
URL. No need to mush authenticated and anonymous URLs into the same
count because their access patterns will be different.
I'm not certain why slow pages have any correlation with sc-
status=200. I'd think that looking at the count of pages whose time-
taken is above a certain threshold is more interesting -- it tell you
which pages are taking a long time and how relatively frequent they
are.
For example, the following query in LogParser finds all URLs in
%LOGFILENAME% which took more than 10 seconds to complete and sort
them in descending frequency order along with relative percentage of
such long-running requests. It allows you to analyze "out of all
requests that take more than 10 seconds to complete, URL-A consists of
Y% of them and took X seconds on average.
SELECT
COUNT(*) AS Hits,
MUL(PROPCOUNT(*),100) AS Percentage,
AVG(time-taken) AS AvgTimeTaken,
cs-uri-stem
FROM
%LOGFILENAME%
WHERE
time-taken>='10000'
GROUP BY
cs-uri-stem
ORDER BY
Hits DESC
Data analysis with LogParser is really open-ended and the usefulness
of any data depends completely on your creativity to identify useful
correlations and ability to crunch the numbers correctly. LogParser
just allows you to actually do it.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
>> Stay informed about: sc-status on live server