VCPG-67-000021 - VMware Postgres must be configured to log to stderr.


Without the ability to centrally manage the content captured in the audit records, identification, troubleshooting, and correlation of suspicious behavior would be difficult and could lead to a delayed or incomplete analysis of an ongoing attack.

The content captured in audit records must be managed from a central location (necessitating automation). Centralized management of audit records and logs provides for efficiency in maintenance and management of records, as well as the backup and archiving of those records.

For VMware Postgres logs to be successfully sent to a remote log management system, log events must be sent to stderr. Those events will be captured and logged to disk, where they will be picked up by rsyslog for shipping.

Satisfies: SRG-APP-000359-DB-000319, SRG-APP-000515-DB-000318


At the command prompt, execute the following commands:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c 'ALTER SYSTEM SET log_destination TO 'stderr';'

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c 'SELECT pg_reload_conf();'

See Also

Item Details


References: 800-53|AU-5(1), CAT|II, CCI|CCI-001855, Rule-ID|SV-239213r879732_rule, STIG-ID|VCPG-67-000021, Vuln-ID|V-239213

Plugin: Unix

Control ID: d4d42d02674b674926b7053a6ccbe001c8d58d19ec860328580deede8c325fe3