audit-events/count
The total number of system events that the policy console is tracking.
GET
Returns a total count of all the system events (policy configuration and app-securing) that the policy console is tracking. Optionally, you can also count system events of a specific type.
Parameters
Parameter | Description |
---|---|
type | Optional. The type of events to count.
|
Example requests
Return a total count of all the system events that the policy console is tracking:
Request
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/audit-events/count
Response
{
"audit_events": {"events_total": 655},
"message": "",
"status": "OK"
}
Return a total count of all the app upload system events that the policy console is tracking:
Request
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/audit-events/count?type=5
Response
{
"audit_events": {"events_total": 15},
"message": "",
"status": "OK"
}