Hi
@ljnic !
So the medplum server actually generates two types of AuditEvents:
1.
AuditEvents generated by the invoking Bots, and Subscriptions, or generated by your client. These are always persisted to the DB and viewable at
https://app.medplum.com/AuditEvent
2.
AuditEvents logging every REST call to the server - because of the high volume of requests, these are logged but not persisted to your DB. We could consider this as an option for self-hosted deployments, but just be aware that you would have to account for the extra scale when provisioning your DB. Typically, we've seen our enterprise self-hosted customers handle these logs in AWS Cloudwatch, DataDog, or other high-scale logging tools
Are there a specific source of AuditEvents you were interested in persisting?