https://www.elastic.co/docs/deploy-manage/security/logging-configuration/enabling-audit-logs
Enable audit logging | Elastic Docs
You can log security-related events such as authentication failures and refused connections to monitor your cluster for suspicious activity (including...
enable audit loggingelasticdocs
https://www.pluralsight.com/labs/aws/enable-audit-logging-on-this-postgresql-instance
Enable Audit Logging on This PostgreSQL Instance
In this hands-on lab, students will enable audit logging using the `pgaudit` extension. They will then review the audit log created.
enable audit loggingpostgresqlinstance