CLI option enables JSON API event log for both request and response
This information is also available in the FortiManager 7.6 Administration Guide: |
A new CLI option enables JSON API event log for both request and response. This feature can be enabled in the CLI, and it is disabled by default.
To enable JSON API logs in the Event Log:
config system global
set jsonapi-log
all <-- logging both jsonapi request & response.
disable <-- disable jsonapi log.
request <-- logging jsonapi request.
response <-- logging jsonapi response.
-
When set to
jsonapi-log
is configured torequest
, only API requests are displayed in the Event Log.
-
When set to
jsonapi-log
is configured toresponse
, only API responses are displayed in the Event Log.
-
When set to
jsonapi-log
is configured toall
, all API requests and responses are displayed in the Event Log.