Forum Discussion
southern_shredd
Feb 01, 2023Cirrus
Stream matched rewrite irule statistics
We have a rewrite irule that uses stream match to rewrite hostnames etc. For decomissioning purposes we woud like to generate a report showing which requests (urls) are using the irule and the result...
southern_nordic
Altocumulus
Understood, can you give an example of a log line that could be added that would return perhaps "hostname matches" or "hits by hostname"
Paulius
Feb 01, 2023MVP
southern_shredd you should be able to put the following in the the third line in the section of "when HTTP_REQUEST" but this really depends on when you would like the logging to occur.
log local0. "Client Connected, IP: [IP::client_addr] for Host: [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