Forum Discussion
Collect Browser Version (UserAgent) via iRule?
Another option you could use is to build some in-memory reporting with the STATS profile/commands. You can create custom metrics and build an iRule to report them directly from a virtual server on the BIG-IP. If you want to automate archiving the content, then you can add a QUERY option to the request to the VIP to tell the iRule to build a different response format (csv, txt, etc) and build a curl script to pull it down regularly.
Here's something in that thought that I wrote a while ago around storing HTTP Status codes and reporting on them. Changing this to monitor User Agents wouldn't be that difficult.
https://devcentral.f5.com/articles/custom-reporting-with-irules
Good luck!
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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