INFOColumn-level Lineage is supported for AWS Aurora and RDS Postgres and requires Cloudwatch to be configured.
Run SQL script and create schema for Datafold
To connect to Postgres, you need to create a user with read-only access to all tables in all schemas, write access to Datafold-specific schema for temporary tables:datafold_tmp in the above script, to materialize scratch work and keep data processing in the your warehouse.
Configure in Datafold
Click Create. Your data connection is ready!
Column-level Lineage with Aurora & RDS
This will guide you through setting up Column-level Lineage with AWS Aurora & RDS using CloudWatch. Steps to complete:- Setup Postgres with Permissions
- Increase the logging verbosity of Postgres so Datafold can parse lineage
- Set up an account for fetching the logs from CloudWatch.
- Configure your data connection in Datafold
Run SQL Script
To connect to Postgres, you need to create a user with read-only access to all tables in all schemas, write access to Datafold-specific schema for temporary tables:Increase logging verbosity

Parameter Group. Database instances run with default parameters that do not include logging verbosity. To turn on the logging verbosity, you’ll need to create a new Parameter Group. Hit Parameter Groups on the menu and create a new Parameter Group.

aurora-postgresql10 parameter group family. This depends on the cluster that you’re running. For Aurora serverless, this is the appropriate family.
Finally, set the log_statement enum field to mod - meaning that it will log all the DDL statements, plus data-modifying statements. Note: This field isn’t set by default.


Connect Datafold to CloudWatch
Start by creating a new user to isolate the permissions as much as possible. Go to IAM and create a new user.
CloudWatchLogsReadOnly and attach the CloudWatchLogsReadOnlyAccess policy to it. Next, select the group.


Access Key and Secret Key. Save these two codes securely to finish configurations on Datafold.
The last piece of information Datafold needs is the CloudWatch Log Group. You will find this in CloudWatch under the Log Group section in the sidebar. It will be formatted as /aws/rds/cluster/<my_cluster_name>/postgresql.

Configure in Datafold
Click Create. Your data connection is ready!
