View connections dropped by iRule

Hello all,

I was trying to find a way to see which requests are dropped by an iRule.

Would appreciate any help.

Thanks!

Unless you have written code to log dropped requests in your iRule, F5 will not log them by default

Hi

you juste have to log your condition:

log local0. "iruledebug: the folling IP [IP::client_addr] and URI: [HTTP::uri] was blocked"

Then you can check logs in /var/log/ltm.

general explanation of logging: https://www.youtube.com/watch?v=dcg9fxwnNTo

K17398: Configuring the High Speed Logging traffic distribution method https://support.f5.com/csp/article/K17398

Code example in devcentral: https://clouddocs.f5.com/api/irules/HSL.html