Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Working with EZproxy

Reply to Post Add a New Topic
UserPost

10:03 pm
March 10, 2011


shadow12083

Member

posts 5

I would like to setup an extra secton that give me stats on the hosts being proxied. 

 

The log entries look like this

 

64.72.65.146 – JcmdnVIe6dAYlmd [03/Feb/2011:13:08:48 -0500] "GET http://www.ncbi.nlm.nih.gov:80…..d/citmatch HTTP/1.0" 200 37677

64.72.65.146 – JcmdnVIe6dAYlmd [03/Feb/2011:13:08:49 -0500] "GET http://www.ncbi.nlm.nih.gov:80…..Version=10 HTTP/1.0" 200 1144

 

So in this case I would like to see a report with the following

http://www.ncbi.nlm.nih.gov 2

 

I tried to do hits by directory, but that did not work out.

 

ExtraSectionName1="Hits by Directory"

ExtraSectionCodeFilter1="200 304"

ExtraSectionCondition1="URL,^.*$"

ExtraSectionFirstColumnTitle1="Directory"

ExtraSectionFirstColumnValues1="URL,^/([^/]*)/"

ExtraSectionFirstColumnFormat1="<A HREF='/%s/' TARGET='_blank'>%.80s</A>"

ExtraSectionStatTypes1=PHB

ExtraSectionAddSumRow1=1

MaxNbOfExtra1=10

MinHitExtra1=1

10:11 pm
March 10, 2011


Jean-Luc

Admin

posts 1125

Hi,

Try this :

ExtraSectionFirstColumnValues1="URL,^(http:\/\/[^:\/]*)\/"
ExtraSectionFirstColumnFormat1="<A HREF='%s' TARGET='_blank'>%.80s</A>"

7:35 pm
March 15, 2011


shadow12083

Member

posts 5

Thank You That help point me in the right direction.

 

This is what I finally ended up using to track EZproxy

 

ExtraSectionName1="Electronic Resource Usage"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="Resource"
ExtraSectionFirstColumnValues1="URL,^[hH][tT][tT][pP]:\/\/([^\/]+)\/"
ExtraSectionStatTypes1=PL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1

Reply to Post

Reply to Topic:
Working with EZproxy

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 5
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)