Forum Discussion
keving9012_2467
Nimbostratus
Apr 13, 2016STREAM 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 ...
Yann_Desmarest
Cirrus
May 29, 2016Hi,
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
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