#1615 Extra section problem

closed
None
5
2014-08-20
2004-11-10
anacronik
No

Hello,

I use Awstats in order to make reporting on web traffic
with proxy.

The Log Format is extended-squid.

I parse in a new format to convert date and send to the
end the categories

LogFormat = "%time1 %other %host %code %bytesd %
method %url %other %other %other %other %other %
query"

ExtraSectionName1="Smartfilter"

ExtraSectionCodeFilter1="200 304 403"

ExtraSectionCondition1=""
ExtraSectionFirstColumnTitle1="Smartfilter Top 20"
ExtraSectionFirstColumnValues1="REFERER,([^&]+)"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=HL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra

we want to count hit or to draw a pie with categories...
i can't success except if i write %query and use referer.

can you explain us how to do and be more explicit how
work extrasection?

i am not a perl expert...

Best regards,
Ana

Discussion

  • Logged In: YES
    user_id=96898

    Can you provide a sample of log file to show where is stored
    the category value you want to use to build new graph ?