I tend to send GP logs to syslog and run scripts to extract required info, I also have PRTG monitor for real time outputs but you can just use monitor/manage custom logs, select globalprotect log from the database and then select the requirement from query builder, perhaps the best for gateway connection would be "event id equal gateway-connected"
you can either run when it suits you or select "scheduled" and this will run every day and can be viewed in monitor/reports.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!