Forum Discussion

Re: iRule for Logging a HTTP::header

I believe the following is what you're looking for.

when HTTP_REQUEST priority 500 {

    if { [string tolower [HTTP::host]] == "webservera.com" }{
        log local0. "[HTTP:host]"
    }

}

 

No RepliesBe the first to reply