Get Events Statistics
Get inspection counts for the events between start_time and end_time. If sampled_statistics is set to true, inspections counts are computed for each discrete time window selected between start_time and end_time
Use this request param for specifiying starting time of a timeline. Value has to be specified in milliseconds since epoch.
Use this request param for specifiying ending time of a timeline. Value has to be specified in milliseconds since epoch.
If this property is set to true, the /events/statistics API will return statistics for a sampled distribution. Set this param to false to get statistics for total distribution.
ID of the NSX+ site which reported this file event. If the parameter is not passed, corresponding API will respond with results across all sites managed within NSX+ instance. This parameter will support single value. If value passed is empty string, it will be considered as valid input for filtering. This parameter is supported only in NSX+.
Successful operation
{
"results": [
{
"time_stamp": 1605291158565,
"number_of_malicious_inspections": 5170,
"number_of_suspicious_inspections": 5187,
"number_of_blocked_inspections": 5
},
{
"time_stamp": 1605377558565,
"number_of_malicious_inspections": 10073,
"number_of_suspicious_inspections": 9927,
"number_of_blocked_inspections": 10015
}
]
}