[{"label":"Latest (1.0.0)","version":"latest"}]
nsx-malware-prevention
Get Events Statistics
DescriptionGet 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
Request
URLURL
https://api.example.com/napp/api/v1/malware-prevention/events/statistics
Query Parameters
Query Parameters
integer
end_time
Required
Use this request param for specifiying ending time of a timeline. Value has to be specified in milliseconds since epoch.
boolean
sampled_statistics
Optional
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.
integer
start_time
Required
Use this request param for specifiying starting time of a timeline. Value has to be specified in milliseconds since epoch.
Authentication
This operation uses the following authentication methods.
METHOD
enterprise_admin
METHOD
security_engineer
METHOD
security_op
METHOD
auditor
Response
Response
Response BodyResponse Body
200 OK
Returns
EventStatisticsResult
of type(s) application/json
Successful operation
This response body class contains all of the following:
InlineEventStatisticsResult0
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://api.example.com/napp/api/v1/malware-prevention/events/statistics?end_time=10&start_time=10
[{"label":"Latest (1.0.0)","version":"latest"}]
nsx-malware-prevention
On This Page
Malware Prevention Operations
post
post
delete
delete
get
get
post