Forum Discussion
Bruce_Hampton_1
Nimbostratus
Jun 27, 2012Logging HTTP::request pre and post HTTP profile
I thought this was simple, but I don't have it working just yet.
I need to log to the local0. the HTTP request as it was received by the LTM, and ALSO as it is being sent out on the server s...
hoolio
Cirrostratus
Jun 27, 2012Sorry, you can actually run HTTP::request in HTTP_REQUEST_SEND (for most scenarios), but you need to hide it from the parser (set http_req_cmd "HTTP::request"; log local0. [eval $http]).
Regardless, it sounds like Bruce might be trying to log the HTTP request headers before the HTTP profile modifications are performed. This isn't possible using HTTP:: commands as the HTTP profile actions are performed before HTTP_REQUEST is triggered.
Bruce, can you clarify what you're trying to accomplish?
Aaron
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