on 18-Nov-2022 13:37
This iRule is an update to the original by Colin Walker. It takes source IPs and does a geolocation lookup on them and if within a US State, adds that as a counter against that state in the session table memory. A request to /heatmap on the applicable virtual server will display a US map with request counts from each state utilizing Google's GeoCharts.
This is not solving a problem, but is providing enhanced view of data traversing the BIG-IP.
Code is accessible in this gist on GitHub.