Replies: 1 comment
-
You can get sessions and logs by SSH or by REST API as in the following example code :: python
Unfortunately, I have no experience with getting sessions by the REST API, you need to know the parameters to get interested sessions. I just fond some example in other project https://github.com/acidjunk/fortigate-python-wrapper/blob/master/examples/fos_api.py#L271 Many other tutorials you can find in ./examples |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to query log and active sessions. any idea on when that can be included ?
Beta Was this translation helpful? Give feedback.
All reactions