Forum Discussion
chester_16314
Sep 08, 2011Nimbostratus
Log unique Client Addresses per (Hour|Day|Etc)
I have an iRule to log client GEO Location data. However, I don't want to log every single client accepted or http request out. Maybe I'm silly, but that seems like a lot of extra thrashing when all...
Hamish
Sep 08, 2011Cirrocumulus
If you're on v10, you can use a sub table (The table command in iRules) to track IP addresses... (Use the IP address as the key. The value can be a count). Then after 60 minutes (Use the after {} command) you can send (HSL in v10, or a sideband connection in v11) the counts to a remote host.
If you look at my LDAP stats iRule in codeshare (http://devcentral.f5.com/wiki/iRules.LDAP_Measure_Reporting.ashx) , most of what you want is in there... (The after {} command, HSL, tables etc). Including how to keep multiple value data per key (e.g. Make a composite key).
H
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