Forum Discussion
vmusacchio_3716
Nimbostratus
Sep 10, 2018How can i add to this irule a part to know which pool is relationed with the virtual Server?
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool pl.logs01.stp]
}
when HTTP_REQUEST {
Save request information for later logging
set req_start [clock clicks -milliseconds]
...
I_R_101_110
Cirrus
Sep 10, 2018This document details the LB::server command which can be used to return pool names and members in the HTTP_REQUEST event:
https://devcentral.f5.com/wiki/iRules.LB__server.ashx
Being that this info will be in the client side context, you'll have to create a variable as you've done with the other client side commands in order to put it in the HTTP_RESPONSE server side context.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects