Forum Discussion
Thiyagu_343098
Nimbostratus
Oct 22, 2018Irule to extract the host name and it in a file
Hello All,
I'm looking for an IRULE to extract host name from the URL of client request to load balancer and log it in a file.
Could you please help me on this request?
Regards,
Thiyagu
Stanislas_Piro2
Cumulonimbus
Oct 22, 2018Hi,
you can do it with
when HTTP_REQUEST {
log local0. "Request from : [IP::remote_addr] / Host requested [HTTP::host]"
}
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