Forum Discussion
iRules - How to send HTTP Response to a HTTP Pool by HSL
You can accomplish this task more efficiently without an iRule by using request logging profiles.
Request logging profiles can be configured to log both the request and response,
set response_cmd "HTTP::response" <--- HTTP::response isn't a valid command. There is no equivalent to HTTP::request for response.
when HTTP_REQUEST_DATA <--- This should be the HTTP_RESPONSE_DATA event. https://clouddocs.f5.com/api/irules/HTTP_RESPONSE_DATA.html
I'd encourage you to pursue the request log profile route first unless there is some specific task it cannot complete within the scope of your requirements.
Best,
Andrew
Our use case is we have a Analytic server to analyze both HTTP Request and Response.
We need to clone the traffic to it for some HTTP endpoints.
Currently we cannot tweak existing logging configuration due some restrictions internal to the project . Is there any way we can do this through iRule?.
Thanks for your support.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
