Summary: How to get the notification information for a specific time frame and a process for troubleshooting problematic events.
In the case where you have errors in Alooma, you may want to pull the notification information and address the events that created errors:
api.get_notifications(epoch_time)to pull a list of notifications between some time (seconds since epoch) and now. This returns a dictionary with messages as a key and a list of the notifications in ascending time order as its value.
Next, address the errors reported in the notifications by either changing the mapping or the Code Engine code with
api.set_transform(code, module_name='main'), as necessary.
Start the restream to re-run all the events that were in the Restream Queue with
If for any reason you need to stop the restream mid-stream, you can stop it with
Pull the list of notifications again to address the next issue.