Hi,
I read somewhere that if you're using IIS 6.0, you should configure the log format parameter for custom logs like this;
LogFormat=”date time c-ip cs-username cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)”
I've read through the posts and saw that you configure custom logs like this;
LogFormat=”%time2 %url………
Which one is true for IIS 6.0 ? I have old logs in this format;
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-bytes time-taken
What should I write to LogFormat parameter to analyze this log?
Thanks for your help
edit:
I found out from your articles that
%time2 %other %method %url %query %logname %host %ua %referer %code %bytesd %other
would work with my type of log. But I'm still confused about the LogFormat I stated above (LogFormat=”date time c-ip cs-username cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)”). Which format should I use?