Forum Discussion
STREAM Max Matchsize logging
Hello F5 community! I'm trying to log headers from requests that hit our Stream Max Matchsize that we have specified in an iRule. Is there anyway to do this? Another option I've been looking into is logging the header when HTTP_RESPONSE is > the STREAM max matchsize. I've seen examples of people logging the header when the header itself is above a certain value. Is there anyway to do this on STREAM Size?
Thank you for your time and for reading this.
1 Reply
Hi,
Not sure to fully understand your problem, here an irule developed to log headers exceeding a defined size :
when HTTP_REQUEST { set LogHttpHeader " " set max_size 4096 foreach aHeader [HTTP::header names] { if { [string length [HTTP::header $aHeader]] >= $max_size } { append LogHttpHeader "header $aHeader exceed the defined max size;" } } log local0. "$LogHttpHeader" }If this is not what you are looking for, can you elaborate a bit your need ?
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