Forum Discussion
Minn_62043
Cirrostratus
Jul 15, 2015How can I log HTTP Request Headers from BIG-IP to pool servers?
I'm trying to log the HTTP request headers sent from BIG-IP to backend servers.
HTTP::headers command gets me illegal command errors in HTTP_REQUEST_SEND event. When I wrap it in clientside braces, it gives me the HTTP Request Headers from client to BIG-IP virtual.
I also tried clientside { HTTP::header... } command in HTTP_RESPONSE. It still gives me HTTP Response Headers from the backend server to BIG-IP.
1 Reply
- Kevin_Stewart
Employee
Try this:
when HTTP_REQUEST_RELEASE { foreach x [HTTP::header names] { log local0. "$x: [HTTP::header $x]" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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