Quantcast
Channel: General Discussion
Viewing all articles
Browse latest Browse all 204

Log Parser of IIS Log Files

$
0
0

hi all,

hope you may be able to help, I am trying to determine the average Page load times from one of our webservers.

I have collated the log files from the server in a single folder on my desktop and I am trying to write a logpaser code which will extract that information for me into a new file. 

not sure I have the code right at all as not really used the program before (below example is point at a single file)

logparser "select to_lowercase(extract_extension(cs-uri-stem))as ResourceType, MIN(time-taken) as MinTimeTaken, MAX(time-taken) as MaxTimeTaken, AVG(time-taken) as AvgTimeTaken, COUNT(*) as Hits INTO timers.txt FROM time-taken.log GROUP BY ResourceType" -i:c:\C:\Users\ldudmish\Desktop\W3SVC1\u_ex160626.log -o:NAT -RTP:-1

Anyone that could help point me in the right direction is greatly appreciated.

Lee


Viewing all articles
Browse latest Browse all 204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>