Forum Discussion
FrontmanFin
Apr 12, 2024Altostratus
iRule for Logging a HTTP::header
Hello, we have a VS that services multiple FQDNs to one VS and then chooses the pool using an LTM policy that checks the incoming http host from the client and then associates to the pool. I have...
- Apr 13, 2024
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]" } }
Paulius
Apr 13, 2024MVP
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]"
}
}
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