Forum Discussion

AlexS_yb's avatar
AlexS_yb
Icon for Cirrocumulus rankCirrocumulus
Jul 22, 2022

What irule event captures http::respond or 503 generated by the F5

Hi   I use irules to log requests and responses problem is http::response and actions done by the F5 are not captured.   I have irule at  HTTP_RESPONSE_RELEASE and HTTP_RESPONSE   Neither fire...
  • PeteWhite's avatar
    Jul 28, 2022

    If, for instance, there is an iRule which sends a response in the HTTP_REQUEST event then this will not fire the HTTP_RESPONSE event as you say ( because that fires for serverside responses ).

    I don't know how to get around this other than to use the HTTP::has_responded command https://clouddocs.f5.com/api/irules/HTTP__has_responded.html and create a log if a response has been sent.