Have been looking around trying to find this and can't find it.
I have a filter for system logs to filter all the successfull Global Protect logins for the last calendar week.
I have been manually exporting this to a csv but wanted to schedule the process to email the csv out.
Is there any way to do this?
Do it through the API. Since you can't query the system logs in a custom job you can't really schedule it.
https://firewall/api/?type=log&log-type=system&query=(eventid eq globalprotectportal-auth-succ)
Obviously replace the query with your own.
pull the job-id from the first command by reading <job>value</job> and feed that value into the second command.
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!