Performance Logging iRule (Rule_http_log)
Updated May 10, 2022
Version 4.0Was this article helpful?
What BIG-IP version are you using? I've tested from 11.x up through 14.x so far.
Note: if you reference HTTP2::version then you can ONLY apply the rule to VIPS with http2 enabled. I want to use the same iRule on any http vip whether it has compression, client / server encryption enabled, http2 enabled. ipv6 listen address, etc. I would prefer to be able to apply the rule to Layer 4 vips too, but I currently maintain 2 versions of the script. One for http vips and one for l4 vips.
The point is that when an http2 request is made, HTTP::version reports an incorrect version. This is clearly a bug. It's incorrect information.