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.
I have added log local0. "User Agent: [HTTP::header “User-Agent”] to my iRule. No matter if I use Chrome, IE, Firefox, or Safari, I get the same entry in the log:
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36