Forum Discussion

SanjayP's avatar
SanjayP
Icon for Nacreous rankNacreous
Nov 19, 2013

iRule for drop requests count in last min

we have rate limiting iRule based on HTTP method. Diff rates are applied for diff method. Now have requirement where need to log requests dropped(GET/PUT/DELETE) in last minute. How to set logging for this.

 

1 Reply

  • Hi F5 Rocks, problem is that your rate limit is triggered/handled by an iRule, means any counters will only in-/decrease if there is active traffic on the VS. To combine this with continuous logging I wouldn't have any idea at the moment. But I could think of a specific URI, which you can define in your iRule, which would show you the amount of drops for each of your defined HTTP methods of the last minute from the moment where you hit your VS with that URI.

     

    Ciao Stefan :)