Forum Discussion

raytoles_75680's avatar
raytoles_75680
Icon for Nimbostratus rankNimbostratus
Dec 13, 2010

iRule Redirect Statistics

I'm trying to figure out if some of our iRule redirects can be decommissioned. The iRule redirect execution times are all the same for the virtual server so I cannot tell if the iRule is actually being used. This stat looks like a total hit count. I want to know if the user was actually redirected once they hit the iRule.

2 Replies

  • Would you like to log whenever a redirect happens or would you prefer incrementing a number of total times?
  • I think a stats profile with counters per redirect might be more efficient than logging each redirect. Or you could use a subtable as a global counter.

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/stats

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/table

     

     

    Aaron