about Awstats

  • aaru
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Nov 28, 2006
  • Posts: 7
  • Loc: INDIA
  • Status: Offline

Post November 28th, 2006, 10:11 pm

hello,

we are using the proxyserver called as SafeSquid.we have the following

extended log format:

field's of our extended apache log format:

1) 604


2) 192.168.0.90 (IPADDR of orgin)


3) "192.168.0.90" "192.168.0.90" ( User field)

4)[27/Nov/2006:12:22:19] (date format)


5)"GET http://mail.google.com:80/mail/?ik=2e69 ... vrftb0khlc" (Request)


6)200 (http status code)


7)169 (bytes transfered)

8)"http://mail.google.com/mail/?ik=&search=inbox&view=tl&start=0&init=1&zx=fpozgo9mac06" (referer field)



9)"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8" (User Agent)



10)text/javascript (Content-Type)


11)"-"

12) "filter-section"(eg,mime filter,url filter,keyword filter etc)


please help me me how can i configure this, in a awstats "extra" section.

especially the " last section"

hel me :wink:
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 28th, 2006, 10:11 pm

  • Dark Uncle
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jun 21, 2005
  • Posts: 46
  • Status: Offline

Post November 30th, 2006, 7:55 am

I dont get it .... you want to use awstats for the logs of your proxy server ? Or your asking for the code for Awstats would use to decode the above log file ?
  • aaru
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Nov 28, 2006
  • Posts: 7
  • Loc: INDIA
  • Status: Offline

Post November 30th, 2006, 9:37 pm

hello friend,

i have to say thanks for ur replay.

exactly i need the code for above log format.

have a fun
  • vijayan
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 31, 2006
  • Posts: 52
  • Loc: india
  • Status: Offline

Post December 6th, 2006, 10:08 pm

Hello aaru,


If you want to configur awstats log format you waht specific which extra you put .In awstats they already give "ExtratX" you want replace "X" as numbers ok.
for e.g. Filtre Section for you "extra1" & in last filed Extra section is in Awstats configuration file. They have metion Exmaple for us see.

# Example to report the 20 products the most ordered by "order.cgi" script
# ExtraSectionName1="Product orders"
# ExtraSectionCodeFilter1="200 304"
#ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi||URL,\/cgi\-bin\/order2\.cgi"
# ExtraSectionFirstColumnTitle1="Product ID"
# ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)"
# ExtraSectionFirstColumnFormat1="%s"
# ExtraSectionStatTypes1=PL
# ExtraSectionAddAverageRow1=1
# ExtraSectionAddSumRow1=0
# MaxNbOfExtra1=20
# MinHitExtra1=1

you change the value. I have changes done it to see below

ExtraSectionName1="Filter section"
ExtraSectionCodeFilter1="200"
ExtraSectionCondition1=""
ExtraSectionFirstColumnTitle1="Filter section"
ExtraSectionFirstColumnValues1=extra1,([^&]+)
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=HLBP
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=20
MinHitExtra1=1


You try it this &Them you see the ouput of awstats see last section it will show "Filter Section"


bye

Vijayan

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 117 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.