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.

Close

Extra Section with multiple query strings

Developers
Viji Nair
2009-08-10
2012-10-11
  • Viji Nair
    Viji Nair
    2009-08-10

    Hi

    I am trying to create an additional section in awstat to generate some valuable information form the apache log. Here is an example of my log file, the URI part

    /test/test.php?q1=<random text>q2=<random test>&procID=333&blID=124&f=e&cc=1000

    I would like to track the all the random q1 and q2 /with respect to the procID, blID, f=e and cc parameters.

    I tried the following, but no luck. Any help on this will be greatly appreciated.

    ExtraSectionName1="TEST: Test DATA"
    ExtraSectionCodeFilter1="200 304"
    ExtraSectionCondition1="URL,\/test\/test.php"
    ExtraSectionFirstColumnTitle1="Test"
    ExtraSectionFirstColumnValues1="QUERY_STRING,q1=(^([a-z])),q2=(^([a-z])),procID=([^&]+),blID=([^&]+),f=e,cc=1000"
    ExtraSectionFirstColumnFormat1="<a href='/test/test.php' target=new>%s</a>"
    ExtraSectionStatTypes1=PL
    ExtraSectionAddAverageRow1=0
    ExtraSectionAddSumRow1=1
    MaxNbOfExtra1=500
    MinHitExtra1=1

    Thanks
    Viji