RayDB LogoRayDB

Audit logs

Audit logs in RayDB provide visibility into user activities, system events, and security-related actions across your PostgreSQL clusters. These logs help in monitoring access, ensuring compliance, and troubleshooting issues.

What is Logged?

RayDB captures the following types of audit events:

  • Authentication Events: User logins, failed login attempts, and password changes.
  • Team Management Events: Invitations, role changes, and member removals.
  • Cluster Operations: Creation, deletion, and scaling of clusters.
  • Security & Access: Firewall rule changes and authentication updates.
  • Database Actions: Backups, restores, and replication events.

Viewing Audit Logs

  1. Log in to the RayDB Dashboard.
  2. Navigate to the Audit Logs section.
  3. Use filters to search by date, event type, or user.
  4. Click on an entry to view detailed information.

Retention Policy

  • Logs are stored for a default retention period (e.g., 30 days) depending on the subscription plan.
  • Extended retention can be configured for enterprise users.

Exporting Logs

To analyze logs externally, you can download them as a CSV or JSON file:

  1. Open the Audit Logs section in the dashboard.
  2. Select the desired timeframe and filters.
  3. Click Export Logs and choose the format.

Best Practices

  • Regularly Review Logs: Monitor for unusual activity or unauthorized access.
  • Enable Alerts: Set up notifications for critical security events.
  • Store Long-Term Logs: If needed for compliance, regularly export logs before they expire.

For further security measures, see User Authentication and Roles.

On this page