/Documentation

How to export Logs to AWS bucket and connect BigQuery

Updated Aug 1, 2026

How to create an AWS S3 Bucket and set up an export to it from Stape

Step 1. Create the AWS S3 Bucket

Step 2. Create an IAM user

Step 3. Provide the user permissions

Step 4. Generate the Access keys

Step 5. Configure the Stape Logs export

Open your Stape container → navigate to Logs → Export logs tab → enable Log export.
Stape will verify the connection. Once successful, your logs will be sent to the AWS S3 bucket.
Exported logs structure

How to export logs to BigQuery

Step 1. Set up the AWS IAM Role

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::your-company-stape-logs" ] }, { "Effect": "Allow", "Action": [ "s3:GetObject" ], "Resource": [ "arn:aws:s3:::your-company-stape-logs/*" ] } ] }

Step 2: Create the connection

Step 3: Take Google Identity back to AWS 

Step 4: Create the External Table 

Was this article helpful?

Comments

Can’t find what you are looking for?