Prerequisites
To create the read-only service user for Sidecar, you will need admin credentials to your Redshift cluster.1. Create a user and group
As a super user, execute the following SQL script:SYSLOGpermissions allow Sidecar to read query logs from all users.SELECTpermissions on SVV_TABLE_INFO allow Sidecar to read metadata about tables in your warehouse.
2. Grant permissions to schemas
For each schema you want Sidecar to monitor:Helper: generate grant statements for all schemas
Helper: generate grant statements for all schemas
Default privileges set for ETL users ensure Sidecar maintains access to tables as ETL jobs run and create/update tables.
Complete setup script
Whitelist Sidecar IPs
If you restrict Redshift access based on IP:- Open the security groups for your Redshift cluster (VPC or EC2 subnet).
- Add an inbound rule:
- Port Range: your Redshift port (default:
5439) - Source IP:
44.236.246.98
- Port Range: your Redshift port (default: