Log and History

Pre-requisite *The user has to be signed in to perform the following operations. *The user should have an active pro-monitoring plan activated on the space.


Getting the Logs

To get the past logs of the system, The following method can be used:

  • spaceId (required): The space id for which the logs are to be fetched.
  • from (required): The start time from logs to be fetched from.
  • to (required): The end time up-to which the logs have to be fetch.
  • skip (required): The number of logs to be skipped in order for pagination.
Factory.proMonitoringService.securityLogs(spaceId: String, queryItems: [QueryItem], sortItem: SortItem?) -> IVPublisher<ListDataModel<SecurityLogsModel>>