Skip to content

feat: Redact expanded auto_explain logs

Craig Barrett requested to merge 5952-auto-explain-log-query-redaction into master

Before we can enable auto_explain as a troubleshooting aid, we need to update the fluentd config to ensure that sensitive fields (full query and plan text) are properly redacted before being shipped off the host.

This change adds a new record_transformer block to the postgres log pipeline in templates/default/postgres.conf.erb

Reference:

Merge request reports