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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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