Forum Discussion

Eireann78_19953's avatar
Eireann78_19953
Icon for Nimbostratus rankNimbostratus
Nov 20, 2008

Log all URI's passing through F5

Hi,

 

Pair of 6400s running 9.4 load balancing some web apps.

 

Using classes to direct traffic to load balance pools based mainly on URI but some on hosts. We use a 3rd party to give us stats on what URI's are being hit for SEO purposes. I would like to confirm these stats by logging the hits on the F5 as well.

 

Is this possible? I haven't come across an option or found a similar post on the forums. Should I be posting this in the iRule forum?

 

Any help appreciated,

 

D.

1 Reply

  • Hi there,

     

     

    There are a few example iRules in the Codeshare which log details for TCP and HTTP in requests and responses. You could tailor one of these for your requirements. Note that logging info for every connection or HTTP request will add significant overhead in terms of CPU and disk space usage.

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/LogHttpTcpUdpToSyslogng.html

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/LogTcpAndHttpRequestResponseInfo.html

     

     

    Aaron