Paging Through the Events Log
2 min
zen master maintains a comprehensive event log that tracks system activities, including connections, errors, and disconnections these events are recorded for both infrastructure resources (zecs, feeders, broadcasters, and receivers) and zen master entities (sources, channels, and targets) zen master api provides a large set of query parameters to customize the response pagination the zen master api provides the get /events endpoint to return your events log the page size is set to return 1000 event objects per request the offset query parameter allows you to return the next page of results steps here is an example for paging through the events log using postman in postman, expand the zen master api collection expand the events folder and select get list events log select and add values to any query parameters to limit the api response click send query parameters the api response body will contain a set of up to 1000 event objects events request response to get the next set of 1000 event objects, scroll down to the last object in the response list copy the event id copy the event date (we'll use this for verification) select the offset query parameter and paste the value of the last event id click send use the last event id as the offset value the response will be another set of up to 1000 event objects the first event id should be the next event you can verify this by checking that the event date of this set's first object is later than the previous set's last object now that you have paging of the event log working in postman, you can use this technique in your scripting language