Forum Discussion
Request logging IRule blocking connection
- Sep 09, 2015
@Deee-blue: you asked about template examples. These two articles should be of assistance:
- https://devcentral.f5.com/questions/configuring-a-request-logging-profile
- https://devcentral.f5.com/questions/request-logging-profile
Here is a small subset of the things you are trying to log in an appropriate template format (on the response side):
Status=$HTTP_STATUS Method=$HTTP_METHOD XFF=${X-Forwarded-For} Total-Time=$RESPONSE_MSECS
I recommend looking in /var/log/ltm. My first guess would be that you are getting an HSL exception. Naturally, for this to work, the associated Virtual Server must have an http profile attached.
I will also say that, depending on which version of BIG-IP you are running, you can likely replace this iRule with a Request Logging Profile (which is more efficient). For example, with 11.5.x:
- Deee-blue_14536Sep 09, 2015
Nimbostratus
Thnaks vernon, I have been looking at the Request-logging profile but I'm not sure of the format used to add multiple elements into the template. do you know of any examples?
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