Viewing AuditEvents in Medplum App
# support
l
As far as I understand, there's an option to log audit events but not to actually save them and make them viewable in the app, right?
r
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?
r
You can also view AuditEvents in your Medplum App - each resource has a
Events
tab like so
l
yeah I saw that feature, still have to update our version but it looks great
Yeah I've written some code to save the the audit events as well and can see why you don't lol
168 Views