[{"label":"Latest (1.0.0)","version":"latest"}]
nsx-malware-prevention

Get Events Statistics

Description

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

Request

Request

URL

URL


get
https://api.example.com/napp/api/v1/malware-prevention/events/statistics
Copy

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

Authentication

This operation uses the following authentication methods.


METHOD

security_op


METHOD

auditor


Response

Response

Response Body

Response 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 Samples

Code Samples

cURL Command

curl https://api.example.com/napp/api/v1/malware-prevention/events/statistics?end_time=10&start_time=10


Feedback

Was this page helpful?