Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.



  • Joshua Petry
    Joshua Petry

    I set up my log files in IIS to what was specified, but also included cs(Cookie). The point of this is that I am intending to write extra functionality, perhaps in the way of a plugin, to parse the cookie value of web requests, and if they belong in some database/file, to do something specific.

    Anyway, in the .conf file, I set the following:
    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(Cookie) cs(Referer)"

    This is everything that's needed, plus the cookie field. Now... how to I read in the cookie information in a plugin file? Or does AWStats just ignore the cookie section, and I'll have to end up reparsing the the log files for this information? Or perhaps, there's a way to display unique cookies in an ExtraSection?

    And help would be much appreciated. :D