Hi Joe,
Thank you for the information! It was in the same direction I was headed earlier. I've tested out the code you provided and it seems to be giving correct results for most of my statistics however the STATISTIC_CLIENT_SIDE_BYTES_IN/OUT are still showing a very odd values...
The BIGIP is showing a result of 66.0Gbits IN and 44.9Gbits OUT in the VS statistics but the output of the statistics are 18446744073373783348 and 5623161336
if my math is correct 66.0Gbits should be 566935683072 bytes and 44.9Gbits should be 385688063180.8 bytes.
Unless of course STATISTIC_CLIENT_SIDE_BYTES_IN/OUT is not the recorded statistic from the Overview >> Statistics: Virtual Servers page.