Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
rlamerico
Contributor

Remote Access VPN - Export Logs with Script/Tool

Hi Guys,

 

I need you help/tips with my problem, today I need to export manually my user access to VPN, to do that I use SmartEvent View, filter by "Log in" , export it to a .csv file, and after another service import it to a DataBase and create a report.

How can I export these logs using a script or a tool?

 

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

You need to be on R80.40 with a recent JHF or R81 to export logs via an API call.
Described here: https://sc1.checkpoint.com/documents/latest/APIs/index.html?#api_versions~v1.6.1
You can see an example script that leverages this API here: https://community.checkpoint.com/t5/API-CLI-Discussion/Using-Logs-API-to-see-Endpoint-VPN-Client-ver...

Danny
Champion Champion
Champion

Is there a way to query SmartView directly from the Bash CLI on a Security Management Server and independently from an API?

PhoneBoy
Admin
Admin

Not using SmartView queries.
There is always ye olde grep of fw log output, though 🙂

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events