Logging and monitoring

RDS PostgreSQL instance without disconnection log

Risk Level

Informational (4)

Compliance Frameworks


Alibaba Cloud ApsaraDB for RDS is an online database service for easy operation, manage and scale relational databases. Enabling 'log_disconnections' allows PostgreSQL Database to log all end of connection sessions including their duration. Configuration issues and inadequate performance can be identified, troubleshooted, and repaired using log data. It was found that the instance '{AliCloudRdsDbInstance}' has 'log_disconnections' set to 'off'.
  • Recommended Mitigation

    It is recommended to set the parameter 'log_disconnections' on the PostgreSQL instance to 'on'.