List events
Returns the list of events, filtered, sorted and paged according to query parameters.
Authentication
AuthorizationBearer
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Query parameters
page
Current page number
per_page
Defines the number of items per page
sort
Sort properties according to a comma separated list of accepted fields. Valid fields are:
* `id` - (**event id**)
* `timestamp` - (**event timestamp**)
* `source` - (**event source**)
* `severity` - (**event severity**)
* `alert` - (**alert status**)
* `organisation` - (**organisation name**)
* `user` - (**user id**)
* `endpoint` - (**endpoint name**)
* `tags` - (**endpoint tags**)
* `ip_address` - (**endpoint ip_address**)
* `iccid` - (**sim iccid**)
* `imsi` - (**sim imsi**)
* `type` - (**event type**)
q
Filter parameter in `<filter>:<value>` format.
Multiple filters must be a comma-separated list of the following fields:
* `from` (**date**, format `YYYY-MM-DDTHH:mm:ssZ`, **only valid with until**)
* `until` (**date**, format `YYYY-MM-DDTHH:mm:ssZ`, **only valid with from**)
* `type` (**event_type**, numerical)
* `source` (**event_type**, numerical, e.g. 0 = Network), 1 = Policy Control, 2 = API)
* `severity` (**event_severity**, numerical, e.g. 0 = Info, 1 = Warn), 2 = Critical)
* `alert` (boolean, e.g. true, false)
* `description` (**event description**, string)
* `organisation` (**organisation name**, string)
* `user` (**user name**, string)
* `endpoint` (**endpoint name**, string)
* `tags` (**endpoint tags**, string)
* `ip_address` (**endpoint IP address**, valid IPv4/IPv6 address)
* `imei` (**endpoint imei**, numerical string)
* `iccid` (**sim iccid**, numerical string)
* `imsi` (**sim imsi**, numerical string)
* `timestamp` (**date**, format `YYYY-MM-DDTHH:mm:ssZ`, for querying events of 1 day, deprecated in future)
Response
Successfully returned a list of events
id
alert
description
timestamp
event_type
event_source
event_severity
organisation
user