countSiteMxEdgeEvents
GET https://{{host}}/api/v1/sites/:site_id/mxedges/events/count
Query Parameters
Name | Type | Description |
---|---|---|
distinct | string | mxedgeid(default) / type / mxclusterid / package |
start | string | start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified |
end | string | end datetime, can be epoch or relative time like -1d, -2h; now if not specified |
duration | string | duration like 7d, 2w |
RESPONSES
status: OK
{"results":[{"type":"ME_SERVICE_RESTARTED","count":5003},{"type":"ME_SERVICE_STARTED","count":124},{"type":"ME_SERVICE_FAILED","count":120}],"start":1694622935,"end":1694709335,"limit":10,"distinct":"type","total":3}