Forum Discussion
m_137079
Dec 04, 2013Nimbostratus
getting all headers from http request without using a loop
I am using the below irule to get all headers from every http request. Is there any other efficient way to do this for instance without using a loop. Any input is much appreciated
Present Irule
...
- Dec 05, 2013
Remember HTTP:request only logs the request headers, not the payload (if there is one), and given that the default Max Header Size in an http profile is 32768, you are unlikely to exceed 64K.
IheartF5_45022
Nacreous
Take a look at [HTTP::request]. It dumps the whole request. It's by far the easiest way to get everything you might want to log, but the format isn't necessarily what the log trawlers want to see.....
m_137079
Dec 05, 2013Nimbostratus
Nice ! That makes things way simpler. I have a followup question IheartF5. I am using UDP for the HSL and UDP packet size is 64K max. (correct me if I am wrong). So if my http request is more than 64 K I will not get the whole data in one packet and UDP. What can be done in that scenario (I cannot use TCP)
Thanks
m@ve
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