Logging and monitoring

Azure PostgreSQL Server ‘log retention days’ is configured to less than 3 days


Server {AzurePostgresDbServer} does not save logs for more than 3 days. Log Retention for over 3 days is useful to identify, troubleshoot and repair configuration errors and sub-optimal performance
  • Recommended Mitigation

    For each database, under server Parameters, set log_retention_days to a value greater than 3