Forum Discussion
superd_88943
Nimbostratus
Jun 05, 2014iRule for logging client version
Hi,
Im looking to create an iRule which logs traffic when it sees the client requests coming from IEv6 only.
Basically im trying to figure out how many IEv6 clients are on my network.
...
Eric_St__John
Employee
Jun 05, 2014What about using istats to increase a counter for the specific virtual server that you apply the iRule to?
when HTTP_REQUEST {
set clientip [IP::client_addr]
if { [HTTP::header "User-Agent"] contains "MSIE 6.0" } {
ISTATS::incr "ltm.virtual /Common/VIRTUAL_NAME counter $clientip" 1
}
}
You can then check the counters for the stats on a per VS basis.
Eric
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